projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New testcase for the verifier
[oota-llvm.git]
/
test
/
Verifier
/
2002-04-13-RetTypes.ll
diff --git a/test/Verifier/2002-04-13-RetTypes.ll
b/test/Verifier/2002-04-13-RetTypes.ll
new file mode 100644
(file)
index 0000000..
fe8d624
--- /dev/null
+++ b/
test/Verifier/2002-04-13-RetTypes.ll
@@ -0,0
+1,9
@@
+; Verify the the operand type of the ret instructions in a function match the
+; delcared return type of the function they live in.
+;
+implementation
+
+uint "testfunc"()
+begin
+ ret int* null
+end