1 // With -fuse-ld=lld, -demangle is always passed to the linker on Darwin.
4 // RUN: %clang --target=x86_64-apple-darwin -### -fuse-ld=lld \
5 // RUN: -B%S/Inputs/lld -mlinker-version=0 %s 2>&1 \
8 // RUN: %clang --target=x86_64-apple-darwin -### -fuse-ld=lld \
9 // RUN: --ld-path=%S/Inputs/lld/ld64.lld -mlinker-version=0 %s 2>&1 \
10 // RUN: | FileCheck %s