hanchenye-llvm-project/lld/test/Driver/flavor-option.test

9 lines
374 B
Plaintext

# a) the -flavor option is position independent and does not need to be the 1st
# argument in the command line (bug 20975);
# b) UniversalDriver correctly removes -flavor along with its value and the
# underlying linker does not get a corrupted command line (bug 20977).
RUN: lld --help -flavor old-gnu | FileCheck %s
CHECK: --noinhibit-exec
CHECK: --output-filetype