mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
e8a94ed276
This fixes PR 42837. Differential Revision: https://reviews.llvm.org/D84465
13 lines
347 B
Plaintext
13 lines
347 B
Plaintext
Test that import libraries (and the members thereof) can be added to another
|
|
static library.
|
|
|
|
RUN: rm -rf %t
|
|
RUN: mkdir -p %t
|
|
|
|
RUN: echo -e "EXPORTS\nMyFunc" > %t/lib.def
|
|
RUN: llvm-dlltool -m i386:x86-64 -l %t/lib.lib -d %t/lib.def -D lib.dll
|
|
RUN: llvm-lib -out:%t/newlib.lib %t/lib.lib
|
|
|
|
RUN: llvm-ar t %t/newlib.lib | FileCheck %s
|
|
CHECK: lib.dll
|