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

26 lines
263 B
C#

class pop_test {
public static int t = 4;
static int f ()
{
t = 0;
return 1;
}
static int Main ()
{
if (t != 4)
return 1;
// we ignore the return value - the compiler emits a pop
f ();
if (t != 0)
return 1;
return 0;
}
}