forked from OSchip/llvm-project
test: add COFF test for library extension handling
Ensure that an extension other than .dll, .exe is preserved as per the behaviour of link. llvm-svn: 308386
This commit is contained in:
parent
a4148c6eed
commit
08c83ea0f3
|
@ -0,0 +1,3 @@
|
|||
LIBRARY library.ext
|
||||
EXPORTS
|
||||
f
|
|
@ -0,0 +1,7 @@
|
|||
# RUN: mkdir -p %T && cd %T
|
||||
# RUN: lld-link /machine:x64 /def:%S/Inputs/extension.def
|
||||
# RUN: llvm-ar t library.lib | FileCheck %s
|
||||
|
||||
CHECK: library.ext
|
||||
CHECK-NOT: library.dll
|
||||
CHECK-NOT: library.exe
|
Loading…
Reference in New Issue