cosmetic
[mcs.git] / tests / test-692.cs
blob8ce44865123d9950ee1c3406a65913f77dfabc1b
1 using System;
3 class Test
5 static DateTime a, b, c;
6 DateTime ia, ib, ic;
8 static void test1 (out DateTime x)
10 x = new DateTime (85);
13 static void test2 (ref DateTime x)
15 x = new DateTime (999);
18 public static int Main ()
20 c = b = a = new DateTime (633596616517216000);
21 if (c != a)
22 return 1;
24 if (b != c)
25 return 2;
27 DateTime ia, ib, ic;
28 ic = ib = ia = new DateTime (633596616517216000);
30 if (ic != ia)
31 return 10;
33 if (ib != ic)
34 return 12;
36 test1 (out ia);
37 test2 (ref ia);
39 return 0;