Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/enum4.C

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