; Approximate expected shape.
; Exact temporary register names may differ.

declare void @print_i32(i32)

define i32 @add(i32 %a, i32 %b) {
entry:
  %0 = add i32 %a, %b
  ret i32 %0
}

define i32 @main() {
entry:
  %0 = call i32 @add(i32 20, i32 22)
  call void @print_i32(i32 %0)
  ret i32 0
}
