Debian Codegraph @

gcc/testsuite/gdc.test/compilable/test18099.d

raw
1
2 /* REQUIRED_ARGS: -betterC
3 */
4
5 // https://issues.dlang.org/show_bug.cgi?id=18099
6
7 struct D
8 {
9 static struct V
10 {
11 ~this() { }
12 }
13
14 V get()
15 {
16 V v;
17 return v;
18 }
19 }