llvm.org GIT mirror llvm / release_21 test / CodeGen / Generic / call-ret0.ll
release_21

Tree @release_21 (Download .tar.gz)

call-ret0.ll @release_21raw · history · blame

; RUN: llvm-upgrade < %s | llvm-as | llc

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

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