Debian Codegraph @

gcc/testsuite/gdc.dg/gdc37.d

raw
1 // https://bugzilla.gdcproject.org/show_bug.cgi?id=37
2 // { dg-do compile }
3
4 struct S37
5 {
6 int bar(const S37 s)
7 {
8 return 0;
9 }
10 }
11
12 int test37()
13 {
14 S37 s;
15 return s.bar(s);
16 }