[2020-02] Use GArray instead of GList when getting custom attributes from an image...
[mono-project.git] / mono / benchmark / static-fields.cs
blob9ac89df333a5b96ff40be63dfa01cb2fadba90d7
1 using System;
3 public class Tests {
5 public static int si = 0;
7 public static int Main (string[] args) {
8 int h = 0, repeat = 1;
10 Console.WriteLine ("Repeat = " + repeat);
12 for (int i = 0; i < (repeat * 50); i++) {
13 for (int j = 0; j < 10000000; j++) {
14 h += si;
18 if (h != 0)
19 return 1;
21 return 0;