Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

30 lines
250 B
C#

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