1 RUN: ld.lld --version \
6 RUN: -no-copy-dt-needed-entries \
7 RUN: -no-ctors-in-init-array \
10 RUN: -no-warn-mismatch \
15 RUN: -warn-execstack \
17 RUN: -warn-shared-textrel \
21 RUN: not ld.lld --version --not-an-ignored-argument
23 Test some options that we reject (including those what we used to silently ignore).
25 --detect-odr-violations is a gold-specific option that we don't implement and if
26 we do, probably in a different way under a different spelling.
27 RUN: not ld.lld --detect-odr-violations 2>&1 | FileCheck %s
29 CHECK: error: unknown argument