[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / AST / pragma-multiple-attributes-declspec.cpp
blob68d697fbf3efe2da0fbff829db3068ab8d9e7c38
1 // RUN: %clang_cc1 -triple i386-pc-win32 -fms-extensions -fms-compatibility -fsyntax-only -ast-dump %s | FileCheck %s
3 #pragma clang attribute push (__declspec(dllexport, noinline), apply_to=function)
4 void func1();
5 #pragma clang attribute pop
6 // CHECK: FunctionDecl {{.*}} func1
7 // CHECK-NEXT: DLLExportAttr {{.*}}
8 // CHECK-NEXT: NoInlineAttr {{.*}}