1 // { dg-do assemble } 2 // { dg-options "-Wall" } 3 4 enum tristate { no = -1, maybe, yes }; 5 6 tristate definite_tristate(int truth)7 definite_tristate (int truth) 8 { 9 return (truth) ? yes : no; 10 } 11