Sign in
llvm
/
llvm-archive
/
8a078a762a98ba34ad83dc2c15e5ff2b86792d78
/
.
/
llvm-gcc-4.2
/
llvmgcc42-2326.9
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
enum4.C
blob: b8b1209d32617c28b750d7e0b18433c5076f8983 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// { dg-options "-Wall" }
enum
tristate
{
no
=
-
1
,
maybe
,
yes
};
tristate
definite_tristate
(
int
truth
)
{
return
(
truth
)
?
yes
:
no
;
}