Add support for Windows x64 Full AOT + LLVM + Interpreter on CI. (#15276)
[mono-project.git] / mcs / tests / gtest-named-04.cs
blob213d809f472121b29b747b7ca71ec780dd413193
1 class Test
3 static string V;
5 static int f (int a)
7 V += a;
8 return a;
11 static void m (int a, int b, int c)
15 static void m (int a, int b, int c, int d)
19 public static int Main ()
21 V = "";
22 m (f (1), b: f (2), c: f (3));
23 if (V != "123")
24 return 1;
26 V = "";
27 m (a: f (1), c: f (2), b: f (3));
28 if (V != "123")
29 return 2;
31 V = "";
32 m (f (1), c: f (2), b: f (3));
33 if (V != "123")
34 return 3;
36 V = "";
37 m (f (1), f (2), c: f (3), d: f (4));
38 if (V != "1234")
39 return 4;
41 V = "";
42 m (f (1), f (2), d: f (3), c: f (4));
43 if (V != "1234")
44 return 5;
46 return 0;