Sign in
gnu
/
gcc
/
4aef14b09557ce072f1269bd8a05fa2b1df0eda2
/
.
/
gcc
/
testsuite
/
gdc.dg
/
pr98277.d
blob: d3b859fcbda2268d8a2198737a9e2f51007e3fa3 [
file
] [
log
] [
blame
]
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98277
// { dg-do compile }
enum
Side
{
left
,
right
}
ref
int
getSide
(
Side
side
,
ref
int
left
,
ref
int
right
)
{
return
side
==
Side
.
left
?
left
:
right
;
}