summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1503-13.cs
blob: 22600207336d084df5f7f0d79ab90f54ec767173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS1503: Argument `#1' cannot convert `bool' expression to type `int'
// Line: 12

public class C
{
	static void Foo<T>(T t)
	{
	}
	
	public static void Main ()
	{
		Foo<int> (true);
	}
}