r178378 - [libclang] Add test case for r178374.
Argyrios Kyrtzidis
akyrtzi at gmail.com
Fri Mar 29 15:16:32 PDT 2013
Author: akirtzidis
Date: Fri Mar 29 17:16:32 2013
New Revision: 178378
URL: http://llvm.org/viewvc/llvm-project?rev=178378&view=rev
Log:
[libclang] Add test case for r178374.
Added:
cfe/trunk/test/Index/modules-objc-categories.m
Added: cfe/trunk/test/Index/modules-objc-categories.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/modules-objc-categories.m?rev=178378&view=auto
==============================================================================
--- cfe/trunk/test/Index/modules-objc-categories.m (added)
+++ cfe/trunk/test/Index/modules-objc-categories.m Fri Mar 29 17:16:32 2013
@@ -0,0 +1,10 @@
+ at import category_top;
+ at import category_left;
+
+ at interface Sub : Foo
+- (void)left_sub;
+ at 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]
More information about the cfe-commits
mailing list