aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/call-ret42.ll
blob: 2e8ed381a0c3461140f5db95551faacb30aae3db (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-as < %s | llc

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

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