projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
test/CodeGen/Generic/call-void.ll
@@ -0,0
+1,8
@@
+void %foo() {
+ ret void
+}
+
+int %main() {
+ call void ()* %foo()
+ ret int 0
+}