aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/g++.dg/rtti/typeid6.C
blob: d8879c59ced4c9bccfd4f9c0bd58a4ccb01029a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/33463

namespace std
{
  class type_info {};
}

template<int> void foo()
{
  !typeid(void); // { dg-error "!typeid\\(void\\)|candidate is" }
  // { dg-message "" "match candidate text" { target *-*-* } 10 }
}