1 # compare immutable-error.mu
 2 
 3 def main [
 4   local-scope
 5   x:&:num <- new number:type
 6   foo x
 7 ]
 8 
 9 def foo x:&:num -> x:&:num [
10   local-scope
11   load-inputs
12   *x <- copy 34
13 ]