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

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

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