Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / benchmark / isinst.cs
1 using System;
2
3 public class Test {
4
5         public static int Main (string[] args) {
6                 int repeat = 1;
7
8                 if (args.Length == 1)
9                         repeat = Convert.ToInt32 (args [0]);
10                 
11                 Console.WriteLine ("Repeat = " + repeat);
12
13                 object a = new Test ();
14                 
15                 for (int i = 0; i < (repeat * 5000); i++)
16                         for (int j = 0; j < 100000; j++)
17                                 if (!(a is Test))
18                                         return 1;
19                 
20                 return 0;
21         }
22 }
23
24