Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
runnable
/
test20025.d
blob: 9abee457cb0277a7add96960751ec34e027cefa7 [
file
] [
log
] [
blame
]
// https://issues.dlang.org/show_bug.cgi?id=20025
struct
B
{
static
int
value
=
77
;
alias
value
this
;
this
(
ref
return
scope inout B rhs
)
inout
{
}
}
void
test
(
int
x
)
{
assert
(
x
==
77
);
}
int
main
()
{
B b
;
test
(
b
);
return
0
;
}