Debian Codegraph @

tests/dmd/fail_compilation/imports/fail21275a.d

raw
1 module imports.fail21275a;
2
3 struct Foo
4 {
5 private int _x;
6
7 private ref int x() return
8 {
9 return _x;
10 }
11
12 int x() const
13 {
14 return _x;
15 }
16
17 }
18
19 struct Bar
20 {
21
22 private int _x;
23
24 private int x(int)
25 {
26 return _x;
27 }
28
29 int x() const
30 {
31 return _x;
32 }
33
34 }