Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.old-deja / g++.other / anon9.C
bloba364db8e962d2b348b14c9000a6a00608ecc41eb
1 // { dg-do assemble  }
2 // Test that we properly diagnose an attempt to use an anonymous class
3 // in declaring an external function.
5 typedef const struct { int i; } T; // { dg-error "" } referenced below
6 void f (T* t);                  // { dg-error "" } uses unnamed type