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

45 lines
400 B
C#

class X {
public static int Main ()
{
int i = 0;
if (false){
i = 1;
return 1;
}
if (true)
i = 2;
else
i = 3;
if (i != 2)
return 5;
while (true){
i++;
if (i == 10)
break;
}
while (false){
i--;
return 3;
}
if (i != 10)
return 2;
do {
if (i++ == 20)
break;
} while (true);
if (i != 21)
return 4;
return 0;
}
}