MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail7603c.d
blob25a7399dd7ae0ef56e1152033fdbb521859a4b45
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail7603c.d(8): Error: cannot modify constant `3`
5 ---
6 */
7 enum x = 3;
8 void test(ref int val = x) { }