projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3e0fac
)
New testcase
author
Chris Lattner
<sabre@nondot.org>
Thu, 21 Nov 2002 17:18:37 +0000
(17:18 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 21 Nov 2002 17:18:37 +0000
(17:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4806
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/ExecutionEngine/test-ret.ll
[new file with mode: 0644]
patch
|
blob
diff --git a/test/ExecutionEngine/test-ret.ll
b/test/ExecutionEngine/test-ret.ll
new file mode 100644
(file)
index 0000000..
ce76fb6
--- /dev/null
+++ b/
test/ExecutionEngine/test-ret.ll
@@ -0,0
+1,13
@@
+; test return instructions
+
+void %test() { ret void }
+sbyte %test() { ret sbyte 1 }
+ubyte %test() { ret ubyte 1 }
+short %test() { ret short -1 }
+ushort %test() { ret ushort 65535 }
+int %test() { ret int -1 }
+uint %test() { ret uint 4 }
+;long %test() { ret void }
+;ulong %test() { ret void }
+;float %test() { ret float 1.0 }
+;double %test() { ret double 2.0 }