Sign in
gnu
/
gcc
/
609d1c1bf0472f9d9415b0b124603348dbcd9e4e
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
enum-clash.C
blob: 68639a1e1434f4ffe7ee7addac454675a3744c25 [
file
] [
log
] [
blame
]
// Build don't link:
// Special g++ Options: -pedantic-errors
// GROUPS passed arm
enum
color
{
red
,
yellow
,
green
=
20
,
blue
};
color c
=
1
;
// this should be an error// ERROR - .*
int
i
=
yellow
;