[MacSDK] Update LLVM to head of mono/llvm's master
[mono-project.git] / mono / benchmark / inline6.cs
blob7874a53ea94fd11b7e7563fae35e98de594ad3ae
1 using System;
3 public class Test {
5 public static int test (int n) {
6 int x = n + 1;
8 return x;
11 public static int Main (string[] args) {
12 int repeat = 1;
15 if (args.Length == 1)
16 repeat = Convert.ToInt32 (args [0]);
18 Console.WriteLine ("Repeat = " + repeat);
21 for (int i = 0; i < repeat; i++)
22 for (int j = 0; j < 500000000; j++)
23 test (12345);
25 return 0;