d: Merge upstream dmd 47871363d, druntime, c52e28b7, phobos 99e9c1b77.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / bug5.d
blob44e4c80e806689ebd6856e2f44fa9a243f6ed351
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 */
8 int test1()
10 if (false)
11 return 0;