another microbench
[mono.git] / mono / benchmark / boxtest.cs
diff --git a/mono/benchmark/boxtest.cs b/mono/benchmark/boxtest.cs
new file mode 100755 (executable)
index 0000000..04385f7
--- /dev/null
@@ -0,0 +1,19 @@
+using System;
+
+
+public class Test {
+
+       public static int Main (string[] args) {
+               object x;
+               
+               for (int i = 0 ; i < 5000000; i++) {
+                       x = i;
+               }
+
+               int j = (int)x;
+               
+               return 0;
+       }
+}
+
+