1 // RUN: %clang_cc1 -ast-dump %s | FileCheck %s
4 - (void)method __attribute__((__swift_private__));
7 // CHECK: ObjCInterfaceDecl {{.*}} I
8 // CHECK: ObjCMethodDecl {{.*}} method 'void'
9 // CHECK: SwiftPrivateAttr
15 // CHECK: ObjCInterfaceDecl {{.*}} J
16 // CHECK: ObjCMethodDecl {{.*}} method 'void'
17 // CHECK: SwiftPrivateAttr {{.*}} Inherited
19 void f(void) __attribute__((__swift_private__));
20 // CHECK: FunctionDecl {{.*}} f 'void (void)'
21 // CHECK: SwiftPrivateAttr
25 // CHECK: FunctionDecl {{.*}} f 'void (void)'
26 // CHECK: SwiftPrivateAttr {{.*}} Inherited