CC/tester/testsuite/good/core019.jl
Jeena Paradies 063194f8be first commit
2011-04-19 11:37:05 +02:00

26 lines
No EOL
381 B
Julia

int main() {
int i = 78;
{
int i = 1;
printInt(i);
}
printInt(i);
while (i > 76) {
i--;
printInt(i);
// this is a little tricky
// on the right hand side, i refers to the outer i
int i = i + 7;
printInt(i);
}
printInt(i);
if (i > 4) {
int i = 4;
printInt(i);
} else {
printString("foo");
}
printInt(i);
return 0 ;
}