Test bitcode parsing error-handling for incorrect explicit type
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 16 Mar 2015 21:35:48 +0000 (21:35 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 16 Mar 2015 21:35:48 +0000 (21:35 +0000)
commitf1d46144183af84c3210c2dfd8b5325ee20955b5
tree7549d95d18aba5b316c6c6ebc6fa16f036dab537
parent9b4250d309ee785e1e33f3573bd4560c2d92003f
Test bitcode parsing error-handling for incorrect explicit type

(turns out I had regressed this when sinking handling of this type down
into GetElementPtrInst::Create - since that asserted before the error
handling was performed)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232420 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bitcode/Reader/BitcodeReader.cpp
test/Bitcode/Inputs/invalid-gep-mismatched-explicit-type.bc [new file with mode: 0644]
test/Bitcode/invalid.test