summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0221-4.cs
blob: ebe563056a28f666fa29784c5c039d8d85844a3a (plain)
1
2
3
4
5
6
7
8
// CS0221: Constant value `-10.1' cannot be converted to a `byte' (use `unchecked' syntax to override)
// Line: 6

class T {
	static void Main () {
		byte d = (byte)-10.1d;
	}
}