1 // RUN: %clang_cc1 -verify -fsyntax-only -fobjc-arc %s
3 __attribute__((__swift_private__))
7 __attribute__((__swift_private__))
12 @property id property __attribute__((__swift_private__));
13 - (void)instanceMethod __attribute__((__swift_private__));
14 + (void)classMethod __attribute__((__swift_private__));
17 void f(void) __attribute__((__swift_private__));
19 struct __attribute__((__swift_private__)) S {};
21 enum __attribute__((__swift_private__)) E {
26 typedef struct { } T __attribute__((__swift_private__));
28 void g(void) __attribute__((__swift_private__("private")));
29 // expected-error@-1 {{'__swift_private__' attribute takes no arguments}}