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

test-767.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 25ea6ccb88ffe369c238644b02d0b05840c24aea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
class Test
{
	public static int Foo ()
	{
		return 5;
	}
	
	public static void Main ()
	{
	}
}

struct S
{
	static int v = Test.Foo ();
	
	Test Test { 
		get {
			return new Test ();
		}
	}
}