aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/elab1.C
blob: 2997eef62557cd77788f45c9478f2faa25b745ac (plain)
1
2
3
4
5
6
7
8
9
namespace Name {

    typedef void *(*Function)( void *, int );

    struct Foo {
      struct Function xyz[5]; // { dg-error "" }
    };

}