AMDGPU: Add pass to detect used kernel features
[oota-llvm.git] / test / CodeGen / Generic / call-void.ll
index 1263b98976581380ff63ce668ca578552b762ca6..9ed4179415930e2e941cc81787fb9acbe1c37ed6 100644 (file)
@@ -1,10 +1,11 @@
-; RUN: llvm-as < %s | llc
+; RUN: llc < %s
 
-void %foo() {
-  ret void
+define void @foo() {
+        ret void
 }
 
-int %main() {  
-  call void ()* %foo() 
-  ret int 0
+define i32 @main() {
+        call void @foo( )
+        ret i32 0
 }
+