svn path=/trunk/mono/; revision=12849
inline1.cs \
inline2.cs \
inline3.cs \
+ inline4.cs \
muldiv.cs \
loops.cs \
initlocals.cs \
--- /dev/null
+using System;
+
+public class Tests {
+
+ public static int test (int n) {
+ if ((n % 2) == 0)
+ return 2;
+ else
+ return 1;
+ }
+
+ public static int Main (string[] args) {
+ int repeat = 1;
+ int sum = 0;
+
+ if (args.Length == 1)
+ repeat = Convert.ToInt32 (args [0]);
+
+ Console.WriteLine ("Repeat = " + repeat);
+
+ for (int i = 0; i < repeat; i++)
+ for (int j = 0; j < 500000000; j++)
+ sum += test (12345);
+
+ return 0;
+ }
+}
+
+