diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-12-09 19:35:43 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-12-09 19:35:43 +0000 |
commit | c96660aef7b1e3004b64b628f76cd1e4ff698df6 (patch) | |
tree | d6cf9515c7a0be72fb43cf3c77bdd982ba112601 /test/Assembler/2006-12-09-Cast-To-Bool.ll | |
parent | 187ccf8d3179a446b3a511849a1c99cefbed296b (diff) |
Add a check to catch an incorrect upgrade.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32402 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/2006-12-09-Cast-To-Bool.ll')
-rw-r--r-- | test/Assembler/2006-12-09-Cast-To-Bool.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Assembler/2006-12-09-Cast-To-Bool.ll b/test/Assembler/2006-12-09-Cast-To-Bool.ll new file mode 100644 index 0000000000..2ede90aa1c --- /dev/null +++ b/test/Assembler/2006-12-09-Cast-To-Bool.ll @@ -0,0 +1,5 @@ +; RUN llvm-upgrade < %s | llvm-as +bool %main(int %X) { + %res = cast bool true to bool + ret bool %res +} |