summaryrefslogtreecommitdiffstats
path: root/lld/test/elf/ignore-unknownoption.test
blob: 56856ed9f2e48acf4bda2892365ba0c3a07b57fb (plain)
1
2
3
4
5
# 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
OpenPOWER on IntegriCloud