d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail18228.d
blob8da0b8d443744efcdb36d9f56d919e29e06a2791
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail18228.d(12): Error: undefined identifier `this`, did you mean `typeof(this)`?
5 fail_compilation/fail18228.d(13): Error: undefined identifier `this`, did you mean `typeof(this)`?
6 fail_compilation/fail18228.d(14): Error: undefined identifier `super`, did you mean `typeof(super)`?
7 ---
8 */
10 class C
12 this(this a) {}
13 this(int a, this b) {}
14 this(super a) {}