llvm-for-llvmta/tools/clang/test/Driver/mingw-lto.c
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

5 lines
233 B
C

// 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