aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/misc10.C
blob: 4d96926ccf8350eaaca2fe2f126e96230494bd45 (plain)
1
2
3
4
5
6
// Build don't link: 
// GROUPS passed miscellaneous
// The compiler shouldn't give a `invalid operands to binary +' for this
// case.
enum flag { OFF, ON };
enum BOOL { FALSE = (enum flag) 0, TRUE };