Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (27 sloc) 418 Bytes
int main() {
print("1..2\n");
int i = foo();
if(i == 1) {
print("ok 1\n");
} else {
print("not ok 1 # TODO - this is buggy!\n");
}
int j = bar(3);
if(j == 1) {
print("ok 2\n");
} else {
print("not ok 2\n");
}
}
int foo() {
int i = 1;
return i;
int j = 2;
return j;
}
int bar(int k) {
int i = 1;
return i;
int j = 2;
return j;
}
Something went wrong with that request. Please try again.