2010-04-13 Sebastien Pouliot <sebastien@ximian.com>
[mono-project.git] / mcs / tests / gtest-419.cs
blob386b17df8baf6c210b82833046a49b6318aed819
1 using System;
3 class Program
5 static int Main ()
7 int? i = ((int?) -4);
8 int? i2 = (int?) +4;
9 object o = (object) (int?) 42;
11 return (bool) Test ("True") == true ? 0 : 1;
14 static object Test (string s)
16 return (!string.IsNullOrEmpty (s)) ? (bool?) bool.Parse (s) : null;