summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0019-19.cs
blob: 9fa13c91d76ecba5b3f4123f8b248e5f95b944ac (plain)
1
2
3
4
5
6
7
// CS0019: Operator `-' cannot be applied to operands of type `float' and `decimal'
// Line: 6

class S
{
	const decimal d = 0f - 1m;
}