about summary refs log tree commit diff stats
path: root/tutorial/task4.mu
blob: 786219cf845c94c5e49c9edb5b50005c34c55bb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
fn the-answer -> _/eax: int {
  var result/eax: int <- copy 0
  # insert your statement below {

  # }
  return result
}

fn test-the-answer {
  var result/eax: int <- the-answer
  check-ints-equal result, 0x2a, "F - the-answer should return 42, but didn't"
}

fn main {
}