[RISCV] Add shrinkwrap test cases showing gaps in current impl
[llvm-project.git] / clang / test / ExtractAPI / objc_category.m
blob9177d40b82644ab503d50ee11ff93a8378ea117d
1 // RUN: rm -rf %t
2 // 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 %s
5 @protocol Protocol
6 @end
8 @interface Interface
9 @end
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 @end
21 // expected-no-diagnostics