xref: /minix3/external/bsd/llvm/dist/clang/test/Index/unmatched-braces.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)

foo()1*f4a2713aSLionel Sambuc void foo() {
2*f4a2713aSLionel Sambuc   int x;
3*f4a2713aSLionel Sambuc   if (x) {
4*f4a2713aSLionel Sambuc }
5*f4a2713aSLionel Sambuc 
6*f4a2713aSLionel Sambuc // RUN: c-index-test -cursor-at=%s:2:7 %s > %t
7*f4a2713aSLionel Sambuc // RUN: FileCheck %s -input-file %t
8*f4a2713aSLionel Sambuc 
9*f4a2713aSLionel Sambuc // CHECK: VarDecl=x:2:7
10