summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/misc10.C
blob: f132d1e088e26a443a10836f2c1f81f0196f9660 (plain)
1
2
3
4
5
6
// { dg-do assemble  }
// 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 };