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

void %foo() {
  ret void
}

int %main() {  
  call void ()* %foo() 
  ret int 0
}