Fixed up testing etc
This commit is contained in:
17
tests/test_functionOrderingTest.krak
Normal file
17
tests/test_functionOrderingTest.krak
Normal file
@@ -0,0 +1,17 @@
|
||||
import io:*;
|
||||
|
||||
|int| ret1() {
|
||||
return ret2() / 2;
|
||||
}
|
||||
|
||||
|
||||
|int| main() {
|
||||
print(ret1());
|
||||
print(ret2());
|
||||
print("\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|int| ret2() {
|
||||
return 2;
|
||||
}
|
||||
Reference in New Issue
Block a user