Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

call-no-args.ll
; RUN: %lli -jit-kind=mcjit -force-interpreter %s

declare void @exit(i32)
declare i32 @rand()

define i32 @main() {
  %ret = call i32 @rand()
  call void @exit(i32 0)
  ret i32 %ret
}