about summary refs log blame commit diff stats
path: root/apps/ex2.2.mu
blob: dce1fe3fc1dcfb48f3e54b180397739b0c6a61f9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10





                            
              


                  
fn main -> result/ebx: int {
  result <- foo
}

fn foo -> result/ebx: int {
  var n: int
  copy-to n, 3
  increment n
  result <- copy n
}