aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/typeof12.C
blob: 4ba75732db175095b89fcd2ecc3286a5ce57b430 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/71820

void f (void (*) (int, int)) {}

template < typename T > void g (T x, __typeof__ x) {}  // { dg-message "sorry, unimplemented: mangling" }

int main ()
{
  f (g < int >); 
  return 0; 
}