☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
runnable
/
bug5.d
☽
☼
gcc/testsuite/gdc.test/runnable/bug5.d
code
plain
raw
1
// REQUIRED_ARGS: -w
2
3
class F { }
4
5
int test1() {
6
scope F f = new F(); // comment out and warning goes away
7
return 0;
8
}
9
10
int test2() { // no return at end of function
11
try {
12
return 0;
13
} finally { }
14
}
15
16
void main()
17
{
18
test1();
19
test2();
20
}