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

test-248.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f3f093d4dfce552add1d28b64740344744d2613c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
using System;

class T {
	static Foo GetFoo () { return new Foo (); }

	public static void Main ()
	{
		string s = GetFoo ().i.ToString ();
		Console.WriteLine (s);
	}
}

struct Foo { public int i; }