Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

28 lines
404 B
C#

using System;
public class Test {
int tmp = 1;
public static int Main (string[] args) {
int repeat = 1;
if (args.Length == 1)
repeat = Convert.ToInt32 (args [0]);
Console.WriteLine ("Repeat = " + repeat);
object a = new Test ();
for (int i = 0; i < (repeat * 5000); i++)
for (int j = 0; j < 100000; j++)
if (((Test)a).tmp != 1)
return 1;
return 0;
}
}