first commit
This commit is contained in:
commit
063194f8be
349 changed files with 36508 additions and 0 deletions
26
tester/testsuite/good/core019.jl
Normal file
26
tester/testsuite/good/core019.jl
Normal file
|
@ -0,0 +1,26 @@
|
|||
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 ;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue