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

28 lines
266 B
C#

using System;
class X
{
public static int Test (int x)
{
for (;;) {
if (x != 1)
x--;
else
break;
return 5;
}
return 0;
}
public static int Main ()
{
if (Test (1) != 0)
return 1;
if (Test (2) != 5)
return 2;
return 0;
}
}