summaryrefslogtreecommitdiff
path: root/test/ELF/sysroot.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/sysroot.s')
-rw-r--r--test/ELF/sysroot.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ELF/sysroot.s b/test/ELF/sysroot.s
index 358b4d9dfa5b..6b40c7d3952a 100644
--- a/test/ELF/sysroot.s
+++ b/test/ELF/sysroot.s
@@ -28,6 +28,8 @@
// Should substitute SysRoot if specified
// RUN: ld.lld -o %t/r %t/m.o --sysroot=%t -L=lib -l:libls.a
// RUN: ld.lld -o %t/r %t/m.o --sysroot=%t -L=/lib -l:libls.a
+// Check alias.
+// RUN: ld.lld -o %t/r %t/m.o --sysroot %t -L=lib -l:libls.a
// Should not substitute SysRoot if the directory name does not start with '='
// RUN: not ld.lld -o %t/r %r/m.o --sysroot=%t -Llib -l:libls.a