Add a few test cases to ensure the bitcode reader is backward compatible with

LLVM 2.9.  My understanding is that we plan to maintain compatibility with 2.9
until the 3.1 release.  At that time we can generate new test cases using LLVM
3.0.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142958 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chad Rosier 2011-10-25 20:33:19 +00:00
parent ca30f75703
commit 847915d63a
4 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,5 @@
; This isn't really an assembly file. It just runs the test on the bitcode to
; ensure bitcode file backward compatibility. No need for FileCheck as the
; BitcodeReader will fail with an assert if broken. This test case was
; generated using a clang binary, based on LLVM 2.9, downloaded from llvm.org.
; RUN: llvm-dis < %s.bc > /dev/null

Binary file not shown.

View File

@ -0,0 +1,5 @@
; This isn't really an assembly file. It just runs the test on the bitcode to
; ensure bitcode file backward compatibility. No need for FileCheck as the
; BitcodeReader will fail with an assert if broken. This test case was
; generated using a clang binary, based on LLVM 2.9, downloaded from llvm.org.
; RUN: llvm-dis < %s.bc > /dev/null

Binary file not shown.