Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
testpull1810.d
blob: 141c9d2ff956a479d095024aa19b29eefe7813b6 [
file
] [
log
] [
blame
]
// REQUIRED_ARGS: -c -w
/*
TEST_OUTPUT:
---
fail_compilation/testpull1810.d(19): Warning: statement is not reachable
---
*/
uint
foo
(
uint
i
)
{
try
{
++
i
;
return
3
;
}
catch
(
Exception
e
)
{
}
return
4
;
}