Files
mono/mcs/errors/bug2.cs
T
Miguel de Icaza 8733940a45 Update errors
svn path=/trunk/mcs/; revision=1938
2002-01-09 21:50:06 +00:00

30 lines
243 B
C#
Executable File

//
// fixed
//
class X {
static void A (ref int a)
{
a++;
}
// Int32&
static void B (ref int a)
{
// Int32&&
A (ref a);
}
static int Main ()
{
int a = 10;
B (ref a);
if (a == 11)
return 0;
else
return 1;
}
}