aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/msvc-link.c
blob: b44e3826199ca21eb74f5223a41369157560f2d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang -target i686-pc-windows-msvc -### %s 2>&1 | FileCheck --check-prefix=BASIC %s
// BASIC: link.exe"
// BASIC: "-out:a.exe"
// BASIC: "-defaultlib:libcmt"
// BASIC: "-nologo"

// RUN: %clang -target i686-pc-windows-msvc -shared -o a.dll -### %s 2>&1 | FileCheck --check-prefix=DLL %s
// DLL: link.exe"
// DLL: "-out:a.dll"
// DLL: "-defaultlib:libcmt"
// DLL: "-nologo"
// DLL: "-dll"