MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail17722b.d
blob171c49fc5008de08ab26624237f2ccad79a79e3b
1 /* TEST_OUTPUT:
2 ---
3 fail_compilation/fail17722b.d(12): Error: static assert: `__traits(compiles, a1 || a2)` is false
4 ---
5 */
7 // https://issues.dlang.org/show_bug.cgi?id=17722
9 void fail17722b()
11 byte[16] a1, a2;
12 static assert(__traits(compiles, a1 || a2)); // diagnostic was (__error) || (__error)