summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0664.cs
blob: fd8c02c1fc783cbfccc3e6f7045cb9ec0151660b (plain)
1
2
3
4
5
6
7
8
// CS0664: Literal of type double cannot be implicitly converted to type `float'. Add suffix `f' to create a literal of this type
// Line: 6
class X {
	void A ()
	{
		float f = 2.0;
	}
}