MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / test18607.d
blobb3af393bdac432455a297547805c8331107ceefd
1 /* TEST_OUTPUT:
2 ---
3 fail_compilation/test18607.d(10): Error: function `test18607.test!int.test` no `return exp;` or `assert(0);` at end of function
4 & test
5 ---
6 */
8 // https://issues.dlang.org/show_bug.cgi?id=18607
10 int* test(T...)() pure @safe {
11 L:foreach(_; T) {
12 continue L;
13 return null;
18 pragma(msg, &test!(int));