repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
anon9.C
blob
a364db8e962d2b348b14c9000a6a00608ecc41eb
1
// { dg-do assemble }
2
// Test that we properly diagnose an attempt to use an anonymous class
3
// in declaring an external function.
4
5
typedef const struct { int i; } T; // { dg-error "" } referenced below
6
void f (T* t); // { dg-error "" } uses unnamed type