brintos

brintos / llvm-project-archived public Read only

0
0
Text · 780 B · 9177d40 Raw
22 lines · plain
1// RUN: rm -rf %t2// RUN: %clang_cc1 -extract-api --pretty-sgf --emit-sgf-symbol-labels-for-testing \3// RUN:   -triple arm64-apple-macosx -x objective-c-header %s -o - -verify | FileCheck %s4 5@protocol Protocol6@end7 8@interface Interface9@end10 11@interface Interface (Category) <Protocol>12// CHECK-DAG: "!testRelLabel": "conformsTo $ c:objc(cs)Interface $ c:objc(pl)Protocol"13@property int Property;14// CHECK-DAG: "!testRelLabel": "memberOf $ c:objc(cs)Interface(py)Property $ c:objc(cs)Interface"15- (void)InstanceMethod;16// CHECK-DAG: "!testRelLabel": "memberOf $ c:objc(cs)Interface(im)InstanceMethod $ c:objc(cs)Interface"17+ (void)ClassMethod;18// CHECK-DAG: "!testRelLabel": "memberOf $ c:objc(cs)Interface(cm)ClassMethod $ c:objc(cs)Interface"19@end20 21// expected-no-diagnostics22