MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / test20565.d
blob5f216755f526695ffe13988716df07592dea4ade
1 /* TEST_OUTPUT:
2 ---
3 fail_compilation/test20565.d(107): Error: function `test20565.test.box` the same declaration cannot be in multiple scopes with non-D linkage
4 ---
5 */
7 // https://issues.dlang.org/show_bug.cgi?id=20565
9 #line 100
11 void test()
14 extern (C++) int box() { return 3; }
17 extern (C++) int box() { return 4; }