summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1502-4.cs
blob: 0238003bbfd88a475366463c25c3f04edab1e802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS1502: The best overloaded method match for `X.X(int)' has some invalid arguments
// Line: 14

public class X {

	public X (int a)
	{
	}
}

class D {
	static void Main ()
	{
		X x = new X ("hola");
	}
}