llvm-for-llvmta/tools/clang/test/Driver/mingw-lto.c

5 lines
233 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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