testcase for PR13006, thanks to Duncan for filing it.

llvm-svn: 157824
This commit is contained in:
Chris Lattner 2012-06-01 18:19:46 +00:00
parent ba896f17ae
commit b1359894f3
1 changed files with 7 additions and 0 deletions

View File

@ -86,4 +86,11 @@ define {i8*, i64} @test_pair_conv_extract() {
; PR13006
define { i64, i64 } @crash(i8* %this) {
%c = tail call { i64, i64 } @testp()
%mrv7 = insertvalue { i64, i64 } %c, i64 undef, 1
ret { i64, i64 } %mrv7
}