FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / enum-clash.C
blob68639a1e1434f4ffe7ee7addac454675a3744c25
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;