Files
mono/mcs/tests/test-124.cs
T
Marek Safar b0eff411fc Switch to compiler-tester
svn path=/trunk/mcs/; revision=45933
2005-06-14 07:15:26 +00:00

58 lines
472 B
C#

using System;
class t {
void a ()
{
int b;
try {
b = 1;
} catch {
b = 2;
}
}
void b ()
{
int a;
try {
a = 1;
} catch (Exception) {
a = 2;
}
}
void c ()
{
int a;
try {
a = 2;
} catch (Exception e) {
a = 0x3;
} catch {
a = 0x1;
}
}
void d ()
{
int a;
try {
a = 2;
} catch (Exception e) {
a = 0x3;
} catch {
a = 0x1;
} finally {
a = 111;
}
}
public static void Main () {}
}