Mercurial > hg > CbC > CbC_llvm
annotate clang/test/Index/complete-in-invalid-method.m @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 1 @interface I |
2 -(void)foo; | |
3 @end | |
4 | |
5 struct S { | |
6 int x,y; | |
7 }; | |
8 | |
9 @implementation I | |
10 -(void) foo { | |
11 struct S s; | |
12 if (1) { | |
13 s. | |
14 } | |
15 @end | |
16 | |
17 // RUN: c-index-test -code-completion-at=%s:13:7 -fobjc-nonfragile-abi %s | FileCheck %s | |
18 // CHECK: FieldDecl:{ResultType int}{TypedText x} | |
19 // CHECK: FieldDecl:{ResultType int}{TypedText y} |