Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / benchmark / vtype1.cs
1 using System;
2
3 public struct TestResult
4 {
5         public TestResult(int x) {
6                 a=x;
7         }
8
9         public int a;
10 }
11
12 public class Test
13 {
14         static int Main ()
15         {
16                 TestResult x;
17                 
18                 for (int i = 0; i < 500000000; i++) {
19                         //x = new TestResult(i, 0m);
20                         x = new TestResult(i);
21                 }
22                 
23                 return 0;
24         }
25
26 }