Merge from branches/gcc-4_8-branch up to rev 207411.
[official-gcc.git] / gcc-4_8-branch / 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 }