2015-03-05 07:16:21 +08:00
|
|
|
// RUN: %clang -target i686-pc-windows-msvc -### %s 2>&1 | FileCheck --check-prefix=BASIC %s
|
2015-03-05 10:26:58 +08:00
|
|
|
// BASIC: link.exe"
|
2015-03-05 07:16:21 +08:00
|
|
|
// 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
|
2015-03-05 10:26:58 +08:00
|
|
|
// DLL: link.exe"
|
2015-03-05 07:16:21 +08:00
|
|
|
// DLL: "-out:a.dll"
|
|
|
|
// DLL: "-defaultlib:libcmt"
|
|
|
|
// DLL: "-nologo"
|
|
|
|
// DLL: "-dll"
|
2016-07-01 23:36:31 +08:00
|
|
|
|
|
|
|
// RUN: %clang -target i686-pc-windows-msvc -L/var/empty -L/usr/lib -### %s 2>&1 | FileCheck --check-prefix LIBPATH %s
|
|
|
|
// LIBPATH: "-libpath:/var/empty"
|
|
|
|
// LIBPATH: "-libpath:/usr/lib"
|
|
|
|
// LIBPATH: "-nologo"
|
|
|
|
|