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.

llvm-svn: 142958
This commit is contained in:
Chad Rosier 2011-10-25 20:33:19 +00:00
parent a40f8c432a
commit 67a5df5329
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.