diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-01-01 15:55:12 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-01-01 15:55:12 -0800 |
commit | dafef4e30fcfb53e6546ce0f53859bf9f1420dd2 (patch) | |
tree | 712ed1da30d3543b559b74703d319425873be525 /archive/3.transect/ex4.k2 | |
parent | 612636182166a706ff1f64e1705a79ac233836fe (diff) | |
download | mu-dafef4e30fcfb53e6546ce0f53859bf9f1420dd2.tar.gz |
5849 - more integration testing of function calls
I can now run this program: fn main -> result/ebx: int { result <- do-add 3 4 } fn do-add a: int, b: int -> result/ebx: int { result <- copy a result <- add b } We still can't define local variables, but can write any programs involving ints by passing in enough arguments for temporaries.
Diffstat (limited to 'archive/3.transect/ex4.k2')
0 files changed, 0 insertions, 0 deletions