1*52d0aaacSAaron Ballman // RUN: %clang_cc1 -triple i386-pc-unknown -fsyntax-only -verify %s 2*52d0aaacSAaron Ballman f(void)3*52d0aaacSAaron Ballman__declspec(naked) void f(void) {} // expected-error{{'__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes}} 4*52d0aaacSAaron Ballman 5*52d0aaacSAaron Ballman struct S { 6*52d0aaacSAaron Ballman __declspec(property(get=Getter, put=Setter)) int X; // expected-error{{'__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes}} 7*52d0aaacSAaron Ballman int Y; 8*52d0aaacSAaron Ballman }; 9