[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Parser / declspec-supported.c
blobf9004893a4a25422373eafd52a7c9c39a232fd43
1 // RUN: %clang_cc1 -triple i386-pc-unknown -fsyntax-only -fms-extensions -verify %s
2 // RUN: %clang_cc1 -triple i386-pc-unknown -fsyntax-only -fdeclspec -verify %s
3 // expected-no-diagnostics
5 __declspec(naked) void f(void) {}
7 struct S {
8 __declspec(property(get=Getter, put=Setter)) int X;
9 int Y;