1 // Build don't link: 2 // Special g++ Options: -pedantic-errors 3 // GROUPS passed enums 4 enum Thing { FIRST, SECOND } ; 5 main()6 int main() 7 { 8 Thing x = FIRST ; 9 x = 27 ; // this line should be a type error.// ERROR - .* 10 } 11