mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 11:39:35 +00:00
[libclang] Add test case for r178374.
llvm-svn: 178378
This commit is contained in:
parent
89fe247094
commit
1a0ffd523a
10
clang/test/Index/modules-objc-categories.m
Normal file
10
clang/test/Index/modules-objc-categories.m
Normal file
@ -0,0 +1,10 @@
|
||||
@import category_top;
|
||||
@import category_left;
|
||||
|
||||
@interface Sub : Foo
|
||||
- (void)left_sub;
|
||||
@end
|
||||
|
||||
// RUN: rm -rf %t
|
||||
// RUN: c-index-test -test-load-source local -fmodules -fmodules-cache-path=%t %s -I%S/../Modules/Inputs | FileCheck %s
|
||||
// CHECK: modules-objc-categories.m:5:9: ObjCInstanceMethodDecl=left_sub:5:9 [Overrides @2:9]
|
Loading…
Reference in New Issue
Block a user