brintos

brintos / llvm-project-archived public Read only

0
0
Text · 366 B · c3bd8b9 Raw
24 lines · plain
1// RUN: c-index-test -write-pch %t.h.pch %s2// RUN: c-index-test -code-completion-at=%s:19:1 %s -include %t.h | FileCheck %s3 4// clang Code Completion returns nothing but preprocessor macros5 6#ifndef HEADER7#define HEADER8 9@interface I10@end11 12// CHECK: FunctionDecl:{ResultType void}{TypedText foo}13void foo();14 15#else16 17@implementation I18-(void)meth {19 20}21@end22 23#endif24