mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
30 lines
243 B
C#
Executable File
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;
|
|
}
|
|
}
|