[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Driver / msvc-compiler-rt.c
blobabbca507ae7f40452b3c411d2a6432be225270cf
1 // RUN: %clang -target x86_64-pc-windows-msvc --rtlib=compiler-rt -### %s 2>&1 | FileCheck %s -check-prefix MSVC-COMPILER-RT
2 // RUN: not %clang %s -target x86_64-pc-windows-msvc --rtlib=libgcc 2>&1 | FileCheck %s -check-prefix CHECK-ERROR
4 // MSVC-COMPILER-RT: "{{.*}}clang_rt.builtins{{.*}}"
5 // CHECK-ERROR: unsupported runtime library 'libgcc' for platform 'MSVC'