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
@@ -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