2017-09-26 03:24:45 +08:00
|
|
|
// RUN: %clang -v -target i686-pc-windows-gnu -### %s 2>&1 | FileCheck -check-prefix=CHECK_DEFAULT %s
|
|
|
|
// RUN: %clang -v -target i686-pc-windows-gnu -lmsvcr120 -### %s 2>&1 | FileCheck -check-prefix=CHECK_MSVCR120 %s
|
2018-07-10 18:46:45 +08:00
|
|
|
// RUN: %clang -v -target i686-pc-windows-gnu -lucrtbase -### %s 2>&1 | FileCheck -check-prefix=CHECK_UCRTBASE %s
|
|
|
|
// RUN: %clang -v -target i686-pc-windows-gnu -lucrt -### %s 2>&1 | FileCheck -check-prefix=CHECK_UCRT %s
|
2022-02-08 16:48:32 +08:00
|
|
|
// RUN: %clang -v -target i686-pc-windows-gnu -lcrtdll -### %s 2>&1 | FileCheck -check-prefix=CHECK_CRTDLL %s
|
2017-09-26 03:24:45 +08:00
|
|
|
|
|
|
|
// CHECK_DEFAULT: "-lmingwex" "-lmsvcrt" "-ladvapi32"
|
2020-05-31 05:05:13 +08:00
|
|
|
// CHECK_DEFAULT-SAME: "-lmsvcrt" "-lkernel32" "{{.*}}crtend.o"
|
2018-02-27 16:35:35 +08:00
|
|
|
// CHECK_MSVCR120: "-lmsvcr120"
|
|
|
|
// CHECK_MSVCR120-SAME: "-lmingwex" "-ladvapi32"
|
2018-07-10 18:46:45 +08:00
|
|
|
// CHECK_UCRTBASE: "-lucrtbase"
|
|
|
|
// CHECK_UCRTBASE-SAME: "-lmingwex" "-ladvapi32"
|
|
|
|
// CHECK_UCRT: "-lucrt"
|
|
|
|
// CHECK_UCRT-SAME: "-lmingwex" "-ladvapi32"
|
2022-02-08 16:48:32 +08:00
|
|
|
// CHECK_CRTDLL: "-lcrtdll"
|
|
|
|
// CHECK_CRTDLL-SAME: "-lmingwex" "-ladvapi32"
|