summaryrefslogtreecommitdiff
path: root/clang/test/Index/unmatched-braces.m
blob: 84fe82a066725b14d5ad785020e14c9ccbb75b11 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
@implementation I
-(void)meth {
  int x;
  if (x) {
}
@end

// RUN: c-index-test -cursor-at=%s:3:7 %s > %t
// RUN: FileCheck %s -input-file %t

// CHECK: VarDecl=x:3:7