etc/services - sync with NetBSD-8
[minix.git] / external / bsd / llvm / dist / clang / test / Index / rdar12316296-codecompletion.m
blobf588a9983718ed67c16d7cc11ac4c7d09b8447f1
1 // RUN: c-index-test -write-pch %t.h.pch %s
2 // RUN: c-index-test -code-completion-at=%s:19:1 %s -include %t.h | FileCheck %s
4 // <rdar://12316296> clang Code Completion returns nothing but preprocessor macros
6 #ifndef HEADER
7 #define HEADER
9 @interface I
10 @end
12 // CHECK: FunctionDecl:{ResultType void}{TypedText foo}
13 void foo();
15 #else
17 @implementation I
18 -(void)meth {
21 @end
23 #endif