xref: /llvm-project/clang/test/Index/in-class-init.cpp (revision 9ca5c425826329d5b23300bbc8a1a7c10a19c64d)
1 struct S {
2   int field = 2;
3 };
4 
5 // RUN: c-index-test -test-load-source all -std=c++11 %s | FileCheck %s
6 // CHECK: 2:7: FieldDecl=field:2:7 (Definition) Extent=[2:3 - 2:16]
7