Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/fail17976.d

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail17976.d(11): Error: constructor `fail17976.S.this` parameter `this.a` is already defined
5 fail_compilation/fail17976.d(11): Error: constructor `fail17976.S.this` parameter `this.a` is already defined
6 ---
7 */
8
9 struct S
10 {
11 this(string a, string a, string a)
12 {
13 }
14 }
15
16 void main()
17 {
18 }