MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / ice10283.d
blob489c45efe6696b7a4ff8991a975643c5fd9c7fb1
1 // https://issues.dlang.org/show_bug.cgi?id=10283
2 /*
3 TEST_OUTPUT:
4 ---
5 fail_compilation/ice10283.d(14): Error: cannot implicitly convert expression `7` of type `int` to `string`
6 ---
7 */
9 S10283 blah(S10283 xxx) { return xxx; }
10 S10283 repy = blah(S10283());
12 struct S10283
14 string source = 7;