summaryrefslogtreecommitdiff
path: root/clang/test/Index/unmatched-braces.c
blob: b994605d362aeae833bb9fb1d9ded53b63ec87b0 (about) (plain)
1
2
3
4
5
6
7
8
9
void foo() {
  int x;
  if (x) {
}

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

// CHECK: VarDecl=x:2:7