[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / mingw-windowsapp.c
blobbf6f2ec3fa3d16e9b6795b29cd1acf4566143273
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 -### %s -lwindowsapp 2>&1 | FileCheck -check-prefix=CHECK_WINDOWSAPP %s
4 // CHECK_DEFAULT: "-lmsvcrt" "-ladvapi32" "-lshell32" "-luser32" "-lkernel32" "-lmingw32"
5 // CHECK_WINDOWSAPP: "-lwindowsapp" "-lmingw32"
6 // CHECK_WINDOWSAPP-SAME: "-lmsvcrt" "-lmingw32"