Merge from mainline (gomp-merge-2005-02-26).
[official-gcc.git] / gcc / testsuite / g++.dg / parse / elab1.C
blob92fcd1ca69c425fafdb98dff4b983a02102121b0
1 namespace Name {
3     typedef void *(*Function)( void *, int ); // { dg-error "previous declaration" }
5     struct Foo {
6       struct Function xyz[5]; // { dg-error "" }
7     };