MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / staticassertargsfail.d
blob911d5887562867181cad17669b41d54f9e39f096
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/staticassertargsfail.d(10): Error: incompatible types for `('x') : (new Object)`: `char` and `object.Object`
5 fail_compilation/staticassertargsfail.d(10): while evaluating `static assert` argument `['x', new Object] ~ ""`
6 ---
7 */
10 static assert(0, "abc", ['x', new Object] ~ "");