================
@@ -0,0 +1,9 @@
+// RUN: %clang_cc1 -triple %itanium_abi_triple -fsyntax-only -verify 
-std=c++17 %s
+
+class A{};
+
+auto f() {
+  return typeid(A);
+}
+
+// CHECK: error: you need to include <typeinfo> or import std before using the 
'typeid' operator
----------------
cor3ntin wrote:

missing new line

https://github.com/llvm/llvm-project/pull/173236
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to