mirror of git://gcc.gnu.org/git/gcc.git
16 lines
350 B
C
16 lines
350 B
C
// { dg-do assemble }
|
|
// GROUPS passed enums
|
|
enum fig {
|
|
figgy,
|
|
pudding, // { dg-error "comma at end" "" { target c++98 } }
|
|
};
|
|
|
|
class X {
|
|
public:
|
|
static fig (*open)(void *thing, const char *filename);
|
|
static fig (*parse)(void *thing);
|
|
};
|
|
|
|
enum fig (*X::open)(void *thing, const char *filename) = 0;
|
|
fig (*X::parse)(void *thing) = 0;
|