Files
mono/mcs/errors/bug2.cs
T
Raja R Harinath defb0bee77 remove svn:executable from *.cs
svn path=/trunk/mcs/; revision=37194
2004-12-06 14:32:39 +00:00

30 lines
243 B
C#

//
// 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;
}
}