MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail17722a.d
blob7e0b9114deea57376d08875cc85e2d63b55a04b1
1 /* TEST_OUTPUT:
2 ---
3 fail_compilation/fail17722a.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 fail17722a()
11 byte[16] a1, a2;
12 static assert(__traits(compiles, a1 && a2)); // diagnostic was (__error) && (__error)