brintos

brintos / llvm-project-archived public Read only

0
0
Text · 318 B · 0e6c8e6 Raw
20 lines · plain
1@interface I2-(void)foo;3@end4 5struct S {6  int x,y;7};8 9@implementation I10-(void) foo {11  struct S s;12  if (1) {13    s.14}15@end16 17// RUN: c-index-test -code-completion-at=%s:13:7 -fobjc-nonfragile-abi %s | FileCheck %s18// CHECK: FieldDecl:{ResultType int}{TypedText x}19// CHECK: FieldDecl:{ResultType int}{TypedText y}20