mirror of https://github.com/tbklang/tlang.git
Test cases
- Updated test case `simple_functions.t` to use `k` global via best effort resolution and top-down resolution to test both methods
This commit is contained in:
parent
9405c03e10
commit
2140747a36
|
@ -10,6 +10,7 @@ int apple(int arg1, int arg2)
|
|||
arg1=1+arg1;
|
||||
|
||||
k=arg1+arg2;
|
||||
simple_functions.k=arg1+arg2;
|
||||
}
|
||||
|
||||
int banana(int arg1)
|
||||
|
|
Loading…
Reference in New Issue