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

9 lines
338 B
Plaintext

# RUN: yaml2obj %p/Inputs/nop.obj.yaml > %t.obj
#
# RUN: not lld -flavor link /out:%t1 /subsystem:console /opt:noref \
# RUN: /include:sym1 /include:sym2 -- %t.obj 2> %t1
# RUN: FileCheck %s < %t1
CHECK: Undefined Symbol: command line option /c (or) /include : sym1
CHECK: Undefined Symbol: command line option /c (or) /include : sym2