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