Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test16685.d
blob: 0be2367a3e336e948c78fea9f280df2239736cd4 [
file
] [
log
] [
blame
]
// https://issues.dlang.org/show_bug.cgi?id=16685
struct
Id
{
ushort
value
;
}
enum
Id
x
=
Id
(
5
);
struct
S
(
ushort
A
)
{}
alias
CannotCreateFromValue
=
S
!(
x
.
value
);