Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-805.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dc4d6de67b4646cd8abdeec07b2354c1eeb6f793 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Compiler options: -r:test-805-lib.dll

public class TestClass
{
	public static int Main ()
	{
		var a = new A ();
		var b = a.Test ();
		if (b.ReturnValue () != 5)
			return 1;

		a.Test2 (null);
		return 0;
	}
}

public class B
{
	internal int ReturnValue ()
	{
		return 5;
	}
}

public class C
{
}

public class G<T>
{
}