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;
}