4 static bool False { get { ++calls; return true; }
}
5 static void ping () { ++calls; }
6 static int test_while (int n
)
10 while (!(False
& false)) {
12 throw new Exception ();
17 static int test_do_while (int n
)
23 throw new Exception ();
26 } while (!(False
& false));
28 static int test_for (int n
)
32 for (bool dummy
= False
; !(False
& false); ++i
) {
34 throw new Exception ();
39 static void test_for_empty ()
42 for (ping (); False
& false; )
43 throw new Exception ();
45 throw new Exception ();
48 public static void Main ()