Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/bug5.d

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/bug5.d(8): Error: function `bug5.test1` no `return exp;` or `assert(0);` at end of function
5 ---
6 */
7
8 int test1()
9 {
10 if (false)
11 return 0;
12 }