llvm-project/lld/test/MachO/driver.test

8 lines
301 B
Plaintext

# RUN: %lld --version | FileCheck -check-prefix=VERSION %s
VERSION: LLD
# RUN: not %lld ---help 2>&1 | FileCheck -check-prefix=SPELLHELP %s
SPELLHELP: error: unknown argument '---help', did you mean '--help'
# FIXME: This should say "no input files" instead
SPELLHELP: error: undefined symbol: _main