Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

19 lines
302 B
C#

using System;
class Program
{
public static int Main ()
{
int? i = ((int?) -4);
int? i2 = (int?) +4;
object o = (object) (int?) 42;
return (bool) Test ("True") == true ? 0 : 1;
}
static object Test (string s)
{
return (!string.IsNullOrEmpty (s)) ? (bool?) bool.Parse (s) : null;
}
}