Simple hand-coded tests to aid in early development of backends, along with a
[oota-llvm.git] / test / CodeGen / Generic / call-void.ll
diff --git a/test/CodeGen/Generic/call-void.ll b/test/CodeGen/Generic/call-void.ll
new file mode 100644 (file)
index 0000000..b23a8d9
--- /dev/null
@@ -0,0 +1,8 @@
+void %foo() {
+  ret void
+}
+
+int %main() {  
+  call void ()* %foo() 
+  ret int 0
+}