☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
runnable
/
test20025.d
☽
☼
gcc/testsuite/gdc.test/runnable/test20025.d
code
plain
raw
1
// https://issues.dlang.org/show_bug.cgi?id=20025
2
struct B
3
{
4
static int value = 77;
5
alias value this;
6
7
this(ref return scope inout B rhs) inout { }
8
}
9
10
void test(int x)
11
{
12
assert(x == 77);
13
}
14
15
int main()
16
{
17
B b;
18
test(b);
19
20
return 0;
21
}