Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.brendan / enum9.C
blob88ecc73283d8051a94d4f2998bb67885019d18a2
1 // { dg-do assemble  }
2 // GROUPS passed enums
3 enum fig {
4     figgy,
5     pudding,  // { dg-error "comma at end" }
6 };
8 class X {
9 public:
10     static fig (*open)(void *thing, const char *filename);
11     static fig (*parse)(void *thing);
14 enum fig (*X::open)(void *thing, const char *filename) = 0;
15 fig (*X::parse)(void *thing) = 0;