summaryrefslogtreecommitdiff
path: root/test/Verifier
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2004-11-06 23:08:26 +0000
committerTanya Lattner <tonic@nondot.org>2004-11-06 23:08:26 +0000
commit2393a24fedc98dd62c9f338d0f08e367a4929369 (patch)
tree410518a07ac59b4bdd366e48c9b77e30e077a06a /test/Verifier
parente9af5d186bdf1620e3f0b74ecc7e49c25b82d186 (diff)
downloadllvm-2393a24fedc98dd62c9f338d0f08e367a4929369.tar.gz
llvm-2393a24fedc98dd62c9f338d0f08e367a4929369.tar.bz2
llvm-2393a24fedc98dd62c9f338d0f08e367a4929369.tar.xz
Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17533 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Verifier')
-rw-r--r--test/Verifier/2002-04-13-RetTypes.ll2
-rw-r--r--test/Verifier/2002-11-05-GetelementptrPointers.ll2
-rw-r--r--test/Verifier/2003-11-21-FunctionReturningStructure.ll2
-rw-r--r--test/Verifier/2004-05-21-SwitchConstantMismatch.ll2
-rw-r--r--test/Verifier/AmbiguousPhi.ll2
-rw-r--r--test/Verifier/PhiGrouping.ll2
-rw-r--r--test/Verifier/SelfReferential.ll2
7 files changed, 14 insertions, 0 deletions
diff --git a/test/Verifier/2002-04-13-RetTypes.ll b/test/Verifier/2002-04-13-RetTypes.ll
index fe8d624123..1ebed17a02 100644
--- a/test/Verifier/2002-04-13-RetTypes.ll
+++ b/test/Verifier/2002-04-13-RetTypes.ll
@@ -1,3 +1,5 @@
+; RUN: not llvm-as -f %s -o /dev/null
+
; Verify the the operand type of the ret instructions in a function match the
; delcared return type of the function they live in.
;
diff --git a/test/Verifier/2002-11-05-GetelementptrPointers.ll b/test/Verifier/2002-11-05-GetelementptrPointers.ll
index 067623c5ba..db3f766a73 100644
--- a/test/Verifier/2002-11-05-GetelementptrPointers.ll
+++ b/test/Verifier/2002-11-05-GetelementptrPointers.ll
@@ -1,3 +1,5 @@
+; RUN: not llvm-as -f %s -o /dev/null
+
; This testcase is invalid because we are indexing into a pointer that is
; contained WITHIN a structure.
diff --git a/test/Verifier/2003-11-21-FunctionReturningStructure.ll b/test/Verifier/2003-11-21-FunctionReturningStructure.ll
index dc7d39e5c4..e1d3ba82f7 100644
--- a/test/Verifier/2003-11-21-FunctionReturningStructure.ll
+++ b/test/Verifier/2003-11-21-FunctionReturningStructure.ll
@@ -1,3 +1,5 @@
+; RUN: not llvm-as -f %s -o /dev/null
+
%T = type { int }
diff --git a/test/Verifier/2004-05-21-SwitchConstantMismatch.ll b/test/Verifier/2004-05-21-SwitchConstantMismatch.ll
index b5fa4895bb..e965c6dac9 100644
--- a/test/Verifier/2004-05-21-SwitchConstantMismatch.ll
+++ b/test/Verifier/2004-05-21-SwitchConstantMismatch.ll
@@ -1,3 +1,5 @@
+; RUN: not llvm-as -f %s -o /dev/null
+
int %main() {
diff --git a/test/Verifier/AmbiguousPhi.ll b/test/Verifier/AmbiguousPhi.ll
index 7da71b0516..f64ec3fd77 100644
--- a/test/Verifier/AmbiguousPhi.ll
+++ b/test/Verifier/AmbiguousPhi.ll
@@ -1,3 +1,5 @@
+; RUN: not llvm-as -f %s -o /dev/null
+
int "test"(int %i, int %j, bool %c) {
diff --git a/test/Verifier/PhiGrouping.ll b/test/Verifier/PhiGrouping.ll
index 71fbb1c4e5..aa1203b73a 100644
--- a/test/Verifier/PhiGrouping.ll
+++ b/test/Verifier/PhiGrouping.ll
@@ -1,3 +1,5 @@
+; RUN: not llvm-as -f %s -o /dev/null
+
int "test"(int %i, int %j, bool %c) {
diff --git a/test/Verifier/SelfReferential.ll b/test/Verifier/SelfReferential.ll
index 54fb018f2d..1f7b837b32 100644
--- a/test/Verifier/SelfReferential.ll
+++ b/test/Verifier/SelfReferential.ll
@@ -1,3 +1,5 @@
+; RUN: not llvm-as -f %s -o /dev/null
+
; Test that self referential instructions are not allowed
implementation