;
// RUN: env CINDEXTEST_SUPPRESSREFS=1 c-index-test -index-file %s | FileCheck %s
// CHECK: [indexDeclaration]: kind: c++-class | name: Sub
// CHECK-NOT: [indexEntityReference]: kind: c++-class | name: B1
// CHECK-NOT: [indexEntityReference]: kind: c++-class | name: B2