New testcase
authorChris Lattner <sabre@nondot.org>
Thu, 18 Apr 2002 20:30:58 +0000 (20:30 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 18 Apr 2002 20:30:58 +0000 (20:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2304 91177308-0d34-0410-b5e6-96231b3b80d8

test/Verifier/SelfReferential.ll [new file with mode: 0644]

diff --git a/test/Verifier/SelfReferential.ll b/test/Verifier/SelfReferential.ll
new file mode 100644 (file)
index 0000000..54fb018
--- /dev/null
@@ -0,0 +1,9 @@
+; Test that self referential instructions are not allowed
+
+implementation
+
+void "test"()
+begin
+       %A = add int %A, 0
+       ret void
+end