Test that we handle empty archives.

This was failing before 249709.

llvm-svn: 249710
This commit is contained in:
Rafael Espindola 2015-10-08 18:10:53 +00:00
parent 483ad20009
commit 79e4452535
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
// RUN: llvm-ar rc %t.a
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: ld.lld2 -shared %t.o %t.a -o t