Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.dg
/
pr98277.d
blob: 0dff142a6ef41abdfe760c0c7a8d51a8808109ce [
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
,
return
ref
int
left
,
return
ref
int
right
)
{
return
side
==
Side
.
left
?
left
:
right
;
}