MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / failsafea.d
blobe121bda1b96e6d7e7688da67c509b83fa554c25d
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/failsafea.d(14): Error: `@safe` function `failsafea.callingsystem` cannot call `@system` function `failsafea.systemfunc`
5 fail_compilation/failsafea.d(9): `failsafea.systemfunc` is declared here
6 ---
7 */
9 void systemfunc() @system {}
11 @safe
12 void callingsystem()
14 systemfunc();