1 // RUN: %clang -target i686-pc-windows-msvc -### %s 2>&1 | FileCheck --check-prefix=BASIC %s
2 // BASIC: link.exe"
3 // BASIC: "-out:a.exe"
4 // BASIC: "-defaultlib:libcmt"
5 // BASIC: "-nologo"
6 
7 // RUN: %clang -target i686-pc-windows-msvc -shared -o a.dll -### %s 2>&1 | FileCheck --check-prefix=DLL %s
8 // DLL: link.exe"
9 // DLL: "-out:a.dll"
10 // DLL: "-defaultlib:libcmt"
11 // DLL: "-nologo"
12 // DLL: "-dll"
13 
14 // RUN: %clang -target i686-pc-windows-msvc -L/var/empty -L/usr/lib -### %s 2>&1 | FileCheck --check-prefix LIBPATH %s
15 // LIBPATH: "-libpath:/var/empty"
16 // LIBPATH: "-libpath:/usr/lib"
17 // LIBPATH: "-nologo"
18 
19