etc/services - sync with NetBSD-8
[minix.git] / external / bsd / llvm / dist / clang / test / Index / get-cursor.c
blobc0614af5dd34efe899e2d804278dd2308a67c8f8
1 struct _MyS {
2 int foo;
3 } MyS;
5 struct _MyS ww;
7 int x, y;
9 // RUN: c-index-test -cursor-at=%s:1:9 \
10 // RUN: -cursor-at=%s:2:9 \
11 // RUN: -cursor-at=%s:5:9 \
12 // RUN: -cursor-at=%s:7:5 \
13 // RUN: -cursor-at=%s:7:8 \
14 // RUN: %s | FileCheck %s
16 // CHECK: StructDecl=_MyS:1:8 (Definition)
17 // CHECK: FieldDecl=foo:2:7 (Definition)
18 // CHECK: TypeRef=struct _MyS:1:8
19 // CHECK: VarDecl=x:7:5
20 // CHECK: VarDecl=y:7:8