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

test-15.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c199bc13bcbbefc77e270bf4c654e7ac8ec95633 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System;

interface Iface {
	void A ();
}

class Implementor : Iface {
	public void A () {}
}

class Run {

	static int Main ()
	{
		Iface iface;
		Implementor i = new Implementor ();

		iface = i;
		
		return 0;
	}
}