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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
enum-clash.C
blob
68639a1e1434f4ffe7ee7addac454675a3744c25
1
// Build don't link:
2
// Special g++ Options: -pedantic-errors
3
// GROUPS passed arm
4
enum color {red, yellow, green=20, blue};
5
color c = 1; // this should be an error// ERROR - .*
6
int i = yellow;