llvm-project/lld/test/pecoff/include.test

9 lines
318 B
Plaintext

# RUN: yaml2obj %p/Inputs/nop.obj.yaml > %t.obj
#
# RUN: not lld -flavor link /out:%t.exe /include:sym1 /include:sym2 \
# RUN: /subsystem:console -- %t.obj 2> %t.log
# RUN: FileCheck %s < %t.log
CHECK: Undefined symbol: command line option /include: sym1
CHECK: Undefined symbol: command line option /include: sym2