llvm-project/lld/test/elf/ignore-unknownoption.test

6 lines
227 B
Plaintext

# This test tests that lld is able to print unknown options that are not
# recognized.
RUN: not lld -flavor gnu -target x86_64 --gc-sections 2> %t
RUN: FileCheck %s < %t
CHECK: warning: ignoring unknown argument: --gc-sections