diff options
Diffstat (limited to 'test/ELF/driver.test')
-rw-r--r-- | test/ELF/driver.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ELF/driver.test b/test/ELF/driver.test index d876218130c3..ac324cbaac45 100644 --- a/test/ELF/driver.test +++ b/test/ELF/driver.test @@ -18,10 +18,10 @@ # HELP: : supported targets:{{.*}} elf # RUN: ld.lld --version 2>&1 | FileCheck -check-prefix=VERSION %s +# RUN: ld.lld -v 2>&1 | FileCheck -check-prefix=VERSION %s +# RUN: not ld.lld -v xyz 2>&1 | FileCheck -check-prefix=VERSION %s # VERSION: LLD {{.*}} (compatible with GNU linkers) -# RUN: not ld.lld -v 2>&1 | FileCheck -check-prefix=VERSION %s - ## Attempt to link DSO with -r # RUN: ld.lld -shared %t -o %t.so # RUN: not ld.lld -r %t.so %t -o %tfail 2>&1 | FileCheck -check-prefix=ERR %s |