[ThinLTO] Test we handle collisions correctly in presence of --whole-archive.

llvm-svn: 284050
This commit is contained in:
Davide Italiano 2016-10-12 20:52:52 +00:00
parent 3cb5ffeb35
commit 726f96e63f
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,10 @@
; RUN: ld.lld %t.o %t1.a %t2.a -o %t
; RUN: llvm-nm %t | FileCheck %s
; Check we handle this case correctly even in presence of --whole-archive.
; RUN: ld.lld %t.o --whole-archive %t1.a %t2.a -o %t
; RUN: llvm-nm %t | FileCheck %s
; CHECK: T _start
; CHECK: T blah
; CHECK: T foo