summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0221-11.cs
blob: 48ecc1aae144db6bce089fc8dfbed50099c36e7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0221:  Constant value `-1' cannot be converted to a `char' (use `unchecked' syntax to override)
// Line: 10

class C
{
	static void Main ()
	{
		unchecked {
			checked {
				const char c = (char) -1;
			}
		}
	}
}