Sign in
gnu
/
gcc
/
b1143e51359be3b1151d892970f43ae67dee64d2
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
enum4.C
blob: ab8b69f4aa7350bb4d6aeab9cc39e95ebe2aba8f [
file
] [
log
] [
blame
]
// Build don't link:
// Special g++ Options: -Wall
enum
tristate
{
no
=
-
1
,
maybe
,
yes
};
tristate
definite_tristate
(
int
truth
)
{
return
(
truth
)
?
yes
:
no
;
}