MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail19931.d
blob940a1faee028104fc59c335e55a467253dcf4ab6
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail19931.d(10): Error: `struct S` may not define both a rvalue constructor and a copy constructor
5 fail_compilation/fail19931.d(12): rvalue constructor defined here
6 fail_compilation/fail19931.d(13): copy constructor defined here
7 ---
8 */
10 struct S
12 this(S s) {}
13 this(ref S s) {}
14 this(this) {}