18a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com/* Note: the RUN lines are near the end of the file, since line/column
2ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com   matter for this test. */
38a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
4ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com@interface I1 @end
5ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com@interface I2 @end
68a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com@interface I3 : I2 @end
78a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
88a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com@interface I1(Cat1) @end
98a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com@interface I1(Cat2) @end
108a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com@interface I1(Cat3) @end
118a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
128a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com@interface I2 (Cat2) @end
138a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com@interface I2 (Cat3) @end
148a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com@interface I2 (Cat2) @end
158c3ff17e2cab6f7c798b9f8ff4515c4a3d3fd9d1bsalomon@google.com@interface I3 (Cat1) @end
168a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com@interface I3 (Cat2) @end
178a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
188a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com@implementation I1(Cat2) @end
198a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com@implementation I1(Cat3) @end
208a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com@implementation I3(Cat2) @end
218a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
228a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com// RUN: c-index-test -code-completion-at=%s:12:16 %s | FileCheck -check-prefix=CHECK-CC1 %s
238a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com// CHECK-CC1: ObjCCategoryDecl:{TypedText Cat1}
248a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com// CHECK-CC1: ObjCCategoryDecl:{TypedText Cat2}
258a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com// CHECK-CC1: ObjCCategoryDecl:{TypedText Cat3}
26038aff623d9fd47946cd31685f74cf473f7c84f0senorblanco@chromium.org// RUN: c-index-test -code-completion-at=%s:13:16 %s | FileCheck -check-prefix=CHECK-CC2 %s
27038aff623d9fd47946cd31685f74cf473f7c84f0senorblanco@chromium.org// CHECK-CC2: ObjCCategoryDecl:{TypedText Cat1}
28038aff623d9fd47946cd31685f74cf473f7c84f0senorblanco@chromium.org// CHECK-CC2-NEXT: ObjCCategoryDecl:{TypedText Cat3}
294868e6b221a4a98e40f977851af5fcf09631ea15senorblanco@chromium.org// RUN: c-index-test -code-completion-at=%s:18:20 %s | FileCheck -check-prefix=CHECK-CC3 %s
304868e6b221a4a98e40f977851af5fcf09631ea15senorblanco@chromium.org// CHECK-CC3: ObjCCategoryDecl:{TypedText Cat1}
314868e6b221a4a98e40f977851af5fcf09631ea15senorblanco@chromium.org// CHECK-CC3: ObjCCategoryDecl:{TypedText Cat2}
32038aff623d9fd47946cd31685f74cf473f7c84f0senorblanco@chromium.org// CHECK-CC3: ObjCCategoryDecl:{TypedText Cat3}
3391f489a65d436d36c7fe580af2775cd0cd13c8d2senorblanco@chromium.org// RUN: c-index-test -code-completion-at=%s:19:20 %s | FileCheck -check-prefix=CHECK-CC4 %s
34038aff623d9fd47946cd31685f74cf473f7c84f0senorblanco@chromium.org// CHECK-CC4: ObjCCategoryDecl:{TypedText Cat1}
35038aff623d9fd47946cd31685f74cf473f7c84f0senorblanco@chromium.org// CHECK-CC4-NEXT: ObjCCategoryDecl:{TypedText Cat3}
367ce661d19c5cf4484305a1b20c44bd111f129847robertphillips@google.com// RUN: c-index-test -code-completion-at=%s:20:20 %s | FileCheck -check-prefix=CHECK-CC5 %s
377ce661d19c5cf4484305a1b20c44bd111f129847robertphillips@google.com// CHECK-CC5: ObjCCategoryDecl:{TypedText Cat1}
387ce661d19c5cf4484305a1b20c44bd111f129847robertphillips@google.com// CHECK-CC5-NEXT: ObjCCategoryDecl:{TypedText Cat2}
397ce661d19c5cf4484305a1b20c44bd111f129847robertphillips@google.com// CHECK-CC5-NEXT: ObjCCategoryDecl:{TypedText Cat3}
407ce661d19c5cf4484305a1b20c44bd111f129847robertphillips@google.com