MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail14997.d
blob3654f04142923f2453324c878b4f7748359fcbff
1 // https://issues.dlang.org/show_bug.cgi?id=14997
3 /*
4 TEST_OUTPUT:
5 ---
6 fail_compilation/fail14997.d(19): Error: none of the overloads of `this` are callable using argument types `()`
7 fail_compilation/fail14997.d(14): Candidates are: `fail14997.Foo.this(int a)`
8 fail_compilation/fail14997.d(15): `fail14997.Foo.this(string a)`
9 ---
12 class Foo
14 this (int a) {}
15 this (string a) {}
17 void main()
19 auto a = new Foo;