Debian Codegraph @

gcc/testsuite/g++.dg/rtti/typeid6.C

raw
1 // PR c++/33463
2
3 namespace std
4 {
5 class type_info {};
6 }
7
8 template<int> void foo()
9 {
10 !typeid(void); // { dg-error "!typeid\\(void\\)|candidate is" }
11 // { dg-message "" "match candidate text" { target *-*-* } .-1 }
12 }