Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / darwin-ld-demangle-lld.c
blob12fd8502ce7a087105a130209d8f8eb51cc8795b
1 // With -fuse-ld=lld, -demangle is always passed to the linker on Darwin.
2 // REQUIRES: shell
4 // RUN: %clang --target=x86_64-apple-darwin -### -fuse-ld=lld \
5 // RUN: -B%S/Inputs/lld -mlinker-version=0 %s 2>&1 \
6 // RUN: | FileCheck %s
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
12 // CHECK: "-demangle"