llvm-project/lld/test/COFF/linkenv.test

7 lines
232 B
Plaintext
Raw Normal View History

# RUN: env LINK="-help -foo" lld -flavor link2 > %t1.log 2> %t2.log
# RUN: FileCheck -check-prefix=STDOUT %s < %t1.log
# RUN: FileCheck -check-prefix=STDERR %s < %t2.log
STDOUT: OVERVIEW: LLVM Linker
STDERR: unknown argument: -foo