Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test20406.d
blob: c3d494f35252bbdd0b06b146bf60003469ab2985 [
file
] [
log
] [
blame
]
// https://issues.dlang.org/show_bug.cgi?id=20406
struct
S
{
@disable
this
();
this
(
int
)
{}
this
(
ref
S other
)
{}
}
void
foo
(
S s
)
{}
void
main
()
{
S s
=
S
(
3
);
foo
(
s
);
}