summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0144-2.cs
blob: b8ea4f0f236b05989e56a8efc5bd8bac5acc6b48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0144: Cannot create an instance of the abstract class or interface `X'
// Line: 11
interface X {
	void A ();

}

class Demo {
	static void Main ()
	{
		object x = new X ();
	}
}