[netcore] Disable a flaky test on interpreter (#18904)
[mono-project.git] / mono / tests / pop.cs
blobdecdf64927d4e063bb9e98d5dbf564ce37a40ef6
1 class pop_test {
3 public static int t = 4;
5 static int f ()
7 t = 0;
9 return 1;
12 static int Main ()
14 if (t != 4)
15 return 1;
17 // we ignore the return value - the compiler emits a pop
18 f ();
20 if (t != 0)
21 return 1;
23 return 0;