MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / test23159.d
blobcdafc613b59d763a3030cc2304a732f0b6c0a23d
1 // https://issues.dlang.org/show_bug.cgi?id=23159
3 // REQUIRED_ARGS: -betterC
4 /*
5 TEST_OUTPUT:
6 ---
7 fail_compilation/test23159.d(14): Error: `scope(failure)` cannot be used with -betterC
8 fail_compilation/test23159.d(18): Error: `scope(success)` cannot be used with -betterC
9 ---
12 void main()
14 scope(failure)
16 int a;
18 scope(success)
20 int a;