aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic/call-ret0.ll
blob: 44c30d3f6fde6c2ea602f34ae59801f017461f4b (plain)
1
2
3
4
5
6
7
8
9
10
; 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
}