You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
347 B

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