*** empty log message ***
authorDietmar Maurer <dietmar@mono-cvs.ximian.com>
Thu, 17 Apr 2003 15:33:14 +0000 (15:33 -0000)
committerDietmar Maurer <dietmar@mono-cvs.ximian.com>
Thu, 17 Apr 2003 15:33:14 +0000 (15:33 -0000)
svn path=/trunk/mono/; revision=13723

mono/benchmark/vtype1.cs [new file with mode: 0644]

diff --git a/mono/benchmark/vtype1.cs b/mono/benchmark/vtype1.cs
new file mode 100644 (file)
index 0000000..a6176c0
--- /dev/null
@@ -0,0 +1,26 @@
+using System;
+
+public struct TestResult
+{
+        public TestResult(int x) {
+               a=x;
+       }
+
+       public int a;
+}
+
+public class Test
+{
+       static int Main ()
+       {
+               TestResult x;
+               
+               for (int i = 0; i < 500000000; i++) {
+                       //x = new TestResult(i, 0m);
+                       x = new TestResult(i);
+               }
+               
+               return 0;
+       }
+
+}