From 63584dbf3038492691b206ae3db4a004ac365a28 Mon Sep 17 00:00:00 2001 From: Neargye Date: Fri, 13 Jul 2018 21:06:37 +0500 Subject: [PATCH] add new bad case --- example/example.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/example/example.cpp b/example/example.cpp index 89d2546..eccd05b 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -150,6 +150,8 @@ int main() { std::cout << NAMEOF(intvar + intvar) << std::endl; // ' intvar' std::cout << NAMEOF(NAMEOF(intvar)) << std::endl; // 'NAMEOF(intvar)' std::cout << NAMEOF(std::cout << intvar << std::endl) << std::endl; // 'endl' + std::cout << NAMEOF(decltype(intvar)) << std::endl; // 'decltype(intvar)' + std::cout << NAMEOF(typeid(intvar)) << std::endl; // 'typeid(intvar)' return 0; }