mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
28 lines
337 B
D
28 lines
337 B
D
// EXTRA_SOURCES: imports/test41a.d
|
|
// PERMUTE_ARGS: -inline -g -O
|
|
|
|
import imports.test41a;
|
|
import core.exception;
|
|
|
|
int main()
|
|
{
|
|
try
|
|
{
|
|
foo();
|
|
return 1;
|
|
}
|
|
catch (AssertError e)
|
|
{
|
|
}
|
|
|
|
try
|
|
{
|
|
func!(void)();
|
|
return 1;
|
|
}
|
|
catch (AssertError e)
|
|
{
|
|
}
|
|
|
|
return 0;
|
|
}
|