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
3 
4 // MSVC-COMPILER-RT: "{{.*}}clang_rt.builtins{{.*}}"
5 // CHECK-ERROR: unsupported runtime library 'libgcc' for platform 'MSVC'
6