diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-08-01 23:07:36 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-08-01 23:07:36 +0000 |
commit | 1451afe0e4367e703d76d5c282eb89acf1c60c17 (patch) | |
tree | d8ae01588e674d64a84af3cdafa47e39d29de091 /test/Verifier | |
parent | 28ae151c48df634b4df5b3630a9a65021574fb4c (diff) |
Make sure these tests pass for the right reasons (verifier error, rather than
failure to assemble).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Verifier')
-rw-r--r-- | test/Verifier/invoke-1.ll | 10 | ||||
-rw-r--r-- | test/Verifier/invoke-2.ll | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/Verifier/invoke-1.ll b/test/Verifier/invoke-1.ll index 362f268099..dd606f09c8 100644 --- a/test/Verifier/invoke-1.ll +++ b/test/Verifier/invoke-1.ll @@ -1,10 +1,10 @@ -; RUN: not llvm-as < %s -o /dev/null -f +; RUN: llvm-upgrade < %s | not llvm-as &| grep {not verify as correct} ; PR1042 int %foo() { - %A = invoke int %foo( ) - to label %L unwind label %L ; <int> [#uses=1] + %A = invoke int %foo( ) + to label %L unwind label %L ; <int> [#uses=1] -L: ; preds = %0, %0 - ret int %A +L: ; preds = %0, %0 + ret int %A } diff --git a/test/Verifier/invoke-2.ll b/test/Verifier/invoke-2.ll index b3a5750fee..5ab038648d 100644 --- a/test/Verifier/invoke-2.ll +++ b/test/Verifier/invoke-2.ll @@ -1,4 +1,4 @@ -; RUN: not llvm-as < %s -o /dev/null -f +; RUN: llvm-upgrade < %s | not llvm-as -f &| grep {not verify as correct} ; PR1042 int %foo() { |