Take stars out of types where they make more sense.
[mono-project.git] / mcs / tests / gtest-636.cs
blob9c44fdf69a95673469fdfee33bb2c803436f5aed
1 using System;
3 class MainClass
5 public static int Main ()
7 var res = XX () | YY();
8 if (!res.Value)
9 return 1;
11 if (xx != 1)
12 return 2;
14 if (yy != 1)
15 return 2;
17 return 0;
20 static int xx;
21 static bool XX ()
23 ++xx;
24 Console.WriteLine ("XX");
25 return true;
28 static int yy;
29 static bool? YY ()
31 if (xx == 1)
32 ++yy;
34 Console.WriteLine ("YY");
35 return true;