[mini] Fix test compiling when running !MOBILE
[mono.git] / mcs / errors / cs0221-13.cs
1 // CS0221: Constant value `NaN' cannot be converted to a `char' (use `unchecked' syntax to override)
2 // Line: 6
3
4 class X {
5         static void Main () {
6                 System.Console.WriteLine ((char)float.NaN);
7         }
8 }