Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

37 lines
624 B
C#

using System;
public class Test {
public static void test0 () {
test1 (0);
}
public static void test1 (int a) {
test2 (0, 1);
}
public static void test2 (int a, int b) {
test3 (0, 1, 2);
}
public static void test3 (int a, int b, int c) {
test4 (0, 1, 2, 3);
}
public static void test4 (int a, int b, int c, int d) {
}
public static int Main (string[] args) {
int repeat = 1;
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++)
test0 ();
return 0;
}
}