☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
bug5.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/bug5.d
code
plain
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
}