You've already forked linux-packaging-mono
Imported Upstream version 4.3.2.467
Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
This commit is contained in:
63
mcs/tests/test-930.cs
Normal file
63
mcs/tests/test-930.cs
Normal file
@@ -0,0 +1,63 @@
|
||||
using System;
|
||||
|
||||
class X
|
||||
{
|
||||
public static int Main ()
|
||||
{
|
||||
try {
|
||||
Test1 ();
|
||||
return 1;
|
||||
} catch (ApplicationException) {
|
||||
}
|
||||
|
||||
try {
|
||||
Test2 ();
|
||||
return 2;
|
||||
} catch (ApplicationException) {
|
||||
}
|
||||
|
||||
try {
|
||||
Test3 ();
|
||||
return 3;
|
||||
} catch (ApplicationException) {
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void Test1 ()
|
||||
{
|
||||
try
|
||||
{
|
||||
}
|
||||
finally
|
||||
{
|
||||
throw new ApplicationException ();
|
||||
}
|
||||
}
|
||||
|
||||
static void Test2 ()
|
||||
{
|
||||
try
|
||||
{
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
finally
|
||||
{
|
||||
throw new ApplicationException ();
|
||||
}
|
||||
}
|
||||
|
||||
static void Test3 ()
|
||||
{
|
||||
try
|
||||
{
|
||||
throw new ApplicationException ();
|
||||
}
|
||||
finally
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user