mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
12 lines
186 B
D
12 lines
186 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/bug5.d(8): Error: function `bug5.test1` no `return exp;` or `assert(0);` at end of function
|
|
---
|
|
*/
|
|
|
|
int test1()
|
|
{
|
|
if (false)
|
|
return 0;
|
|
}
|