2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / enum4.C
blobb8b1209d32617c28b750d7e0b18433c5076f8983
1 // { dg-do assemble  }
2 // { dg-options "-Wall" }
4 enum tristate { no = -1, maybe, yes };
6 tristate
7 definite_tristate (int truth)
9   return (truth) ? yes : no;