Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / rtti / typeid6.C
blobd8879c59ced4c9bccfd4f9c0bd58a4ccb01029a7
1 // PR c++/33463
3 namespace std
5   class type_info {};
8 template<int> void foo()
10   !typeid(void); // { dg-error "!typeid\\(void\\)|candidate is" }
11   // { dg-message "" "match candidate text" { target *-*-* } 10 }