1 // Bug: the switch fails on the Alpha because folding ef - 1 fails. 2 3 enum foo { one=1, thirty=30 }; 4 f(enum foo ef)5 int f (enum foo ef) 6 { 7 switch (ef) 8 { 9 case one: 10 case thirty: 11 return 0; 12 default: 13 return 1; 14 } 15 } 16 main()17 int main () 18 { 19 return f (one); 20 } 21