Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / mingw-lto.c
blobc10ad6b821bd739d724f327670a9d40f8d1b738e
1 // The default linker doesn't support LLVM bitcode
2 // RUN: not %clang --target=i686-pc-windows-gnu %s -flto -fuse-ld=bfd
3 // When using lld, this is allowed though.
4 // RUN: %clang --target=i686-pc-windows-gnu -### %s -flto -fuse-ld=lld -B%S/Inputs/lld -femulated-tls 2>&1 | FileCheck %s
6 // CHECK: "-plugin-opt=-emulated-tls"