diff options
author | Tanya Lattner <tonic@nondot.org> | 2004-11-06 23:08:26 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2004-11-06 23:08:26 +0000 |
commit | 2393a24fedc98dd62c9f338d0f08e367a4929369 (patch) | |
tree | 410518a07ac59b4bdd366e48c9b77e30e077a06a /test/Verifier | |
parent | e9af5d186bdf1620e3f0b74ecc7e49c25b82d186 (diff) | |
download | external_llvm-2393a24fedc98dd62c9f338d0f08e367a4929369.zip external_llvm-2393a24fedc98dd62c9f338d0f08e367a4929369.tar.gz external_llvm-2393a24fedc98dd62c9f338d0f08e367a4929369.tar.bz2 |
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.ll | 2 | ||||
-rw-r--r-- | test/Verifier/2002-11-05-GetelementptrPointers.ll | 2 | ||||
-rw-r--r-- | test/Verifier/2003-11-21-FunctionReturningStructure.ll | 2 | ||||
-rw-r--r-- | test/Verifier/2004-05-21-SwitchConstantMismatch.ll | 2 | ||||
-rw-r--r-- | test/Verifier/AmbiguousPhi.ll | 2 | ||||
-rw-r--r-- | test/Verifier/PhiGrouping.ll | 2 | ||||
-rw-r--r-- | test/Verifier/SelfReferential.ll | 2 |
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 fe8d624..1ebed17 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 067623c..db3f766 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 dc7d39e..e1d3ba8 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 b5fa489..e965c6d 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 7da71b0..f64ec3f 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 71fbb1c..aa1203b 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 54fb018..1f7b837 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 |