Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / msvc-compiler-rt.c
blob9651662aa703efec5e6631075d25f2da5de6f717
1 // RUN: %clang -target x86_64-pc-windows-msvc --rtlib=compiler-rt -### %s 2>&1 | FileCheck %s -check-prefix MSVC-COMPILER-RT
2 // RUN: %clang -target x86_64-pc-windows-msvc --rtlib=compiler-rt --rtlib=platform -### %s 2>&1 | FileCheck %s -check-prefix MSVC-DEFAULT
3 // RUN: not %clang %s -target x86_64-pc-windows-msvc --rtlib=libgcc 2>&1 | FileCheck %s -check-prefix CHECK-ERROR
5 // MSVC-COMPILER-RT: "{{.*}}clang_rt.builtins{{.*}}"
6 // MSVC-DEFAULT-NOT: "{{.*}}clang_rt.builtins{{.*}}"
7 // CHECK-ERROR: unsupported runtime library 'libgcc' for platform 'MSVC'