summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0664-4.cs
blob: 49c16849a55d10ca6db5bd6b8963c030763f4342 (plain)
1
2
3
4
5
6
7
8
9
// CS0664: Literal of type double cannot be implicitly converted to type `decimal'. Add suffix `m' to create a literal of this type
// Line: 7

class X {
	void A ()
	{
		decimal d = -2.0;
	}
}