diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-03-29 22:16:32 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-03-29 22:16:32 +0000 |
commit | b6cac0bf486e44f53f1ae397c2615947a203373f (patch) | |
tree | 325ae2b3ebecb6264f875a9021d0c271ea75d833 /test/Index | |
parent | 04593d0f9d84f6adf942bd66f1587e05c6a47c42 (diff) |
[libclang] Add test case for r178374.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178378 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index')
-rw-r--r-- | test/Index/modules-objc-categories.m | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Index/modules-objc-categories.m b/test/Index/modules-objc-categories.m new file mode 100644 index 0000000000..4d0fd260d4 --- /dev/null +++ b/test/Index/modules-objc-categories.m @@ -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] |