summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0184-3.cs
blob: 7b049b059a7fcf7007dcff4bb0ce876988dd4f4b (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0184: The given expression is never of the provided (`decimal') type
// Line: 7
// Compiler options: -warnaserror -warn:1

class A
{
	static void Main ()
	{ 
		System.Console.WriteLine (1 is decimal);
	}
}