mingw-lto.c 233 Bytes
// The default linker doesn't support LLVM bitcode
// RUN: not %clang -target i686-pc-windows-gnu %s -flto -fuse-ld=bfd
// When using lld, this is allowed though.
// RUN: %clang -target i686-pc-windows-gnu -### %s -flto -fuse-ld=lld