mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-22 19:30:36 +00:00
12 lines
184 B
D
12 lines
184 B
D
// { dg-shouldfail "uncaught exception" }
|
|
void test()
|
|
{
|
|
int innerLocal = 20;
|
|
throw new Exception("foo");
|
|
}
|
|
void main(string[] args)
|
|
{
|
|
string myLocal = "bar";
|
|
test();
|
|
}
|