llvm-for-llvmta/tools/clang/test/Index/in-class-init.cpp

7 lines
172 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
struct S {
int field = 2;
};
// RUN: c-index-test -test-load-source all -std=c++11 %s | FileCheck %s
// CHECK: 2:7: FieldDecl=field:2:7 (Definition) Extent=[2:3 - 2:16]