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









                                   
# Meaningless conventional example.
#
# To run:
#   $ ./translate_mu apps/hello.mu
#   $ ./a.elf

fn main -> exit-status/ebx: int {
  print-string 0, "Hello world!\n"
  exit-status <- copy 0
}