llvm.org GIT mirror llvm / release_16 test / CodeGen / Generic / call-ret42.ll
release_16

Tree @release_16 (Download .tar.gz)

call-ret42.ll @release_16raw · history · blame

; RUN: llvm-as < %s | llc

int %foo(int %x) {
  ret int 42
}

int %main() {  
  %r = call int %foo(int 15) 
  ret int %r
}