aboutsummaryrefslogtreecommitdiff
path: root/test/Index/in-class-init.cpp
blob: 61431caafd75439c18c142f96721d5bff80d81c5 (plain)
1
2
3
4
5
6
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]