monotouch uses the real HttpWebRequest
[mcs.git] / tests / gtest-391.cs
blob580d6ce3936866b6463f68e630bb3a3749f1b8fe
1 using System;
3 class C
5 bool Test_1 ()
7 bool? xx = null;
8 return xx ?? true;
11 public static int Main ()
13 string a = null;
14 string b = null ?? "a";
15 if (b != "a")
16 return 1;
18 int? i = null ?? null;
19 if (i != null)
20 return 2;
22 object z = a ?? null;
23 if (i != null)
24 return 3;
26 string p = default (string) ?? "a";
27 if (p != "a")
28 return 4;
30 string p2 = "x" ?? "a";
31 if (p2 != "x")
32 return 5;
34 return 0;