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
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
misc14.C
blob
c4229a130e99417bfb47c80f12686f428dadccb6
1
// { dg-do assemble }
2
// GROUPS passed miscellaneous-bugs
3
class X {
4
public:
5
enum e {
6
New // { dg-message "previous" }
7
, // { dg-error "comma at end" "" { target { ! c++11 } } }
8
};
9
10
static int New(int); // { dg-error "conflicts with a previous" }
11
};
12
13
int main() {}