Xamarin Public Jenkins f3e3aab35a Imported Upstream version 4.3.2.467
Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
2016-02-22 11:00:01 -05:00

63 lines
606 B
C#

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