Sign in
gnu
/
gcc
/
14bc1c0e15633ea781d76d0ae4274b2e27d51db5
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
enum5.C
blob: 32134eff85cbffaffd8750b565601d3874efccd6 [
file
] [
log
] [
blame
]
// Build don't link:
// Special g++ Options: -pedantic-errors
// GROUPS passed enums
enum
Thing
{
FIRST
,
SECOND
}
;
int
main
()
{
Thing
x
=
FIRST
;
x
=
27
;
// this line should be a type error.// ERROR - .*
}