1 // RUN: %clang -v -target i686-pc-windows-gnu -### %s 2>&1 | FileCheck -check-prefix=CHECK_DEFAULT %s 2 // RUN: %clang -v -target i686-pc-windows-gnu -lmsvcr120 -### %s 2>&1 | FileCheck -check-prefix=CHECK_MSVCR120 %s 3 // RUN: %clang -v -target i686-pc-windows-gnu -lucrtbase -### %s 2>&1 | FileCheck -check-prefix=CHECK_UCRTBASE %s 4 // RUN: %clang -v -target i686-pc-windows-gnu -lucrt -### %s 2>&1 | FileCheck -check-prefix=CHECK_UCRT %s 5 6 // CHECK_DEFAULT: "-lmingwex" "-lmsvcrt" "-ladvapi32" 7 // CHECK_DEFAULT-SAME: "-lmsvcrt" "-lkernel32" "{{.*}}crtend.o" 8 // CHECK_MSVCR120: "-lmsvcr120" 9 // CHECK_MSVCR120-SAME: "-lmingwex" "-ladvapi32" 10 // CHECK_UCRTBASE: "-lucrtbase" 11 // CHECK_UCRTBASE-SAME: "-lmingwex" "-ladvapi32" 12 // CHECK_UCRT: "-lucrt" 13 // CHECK_UCRT-SAME: "-lmingwex" "-ladvapi32" 14