1*f4a2713aSLionel Sambuc 2*f4a2713aSLionel Sambuc #include "index-suppress-refs.hpp" 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc class Sub : B1, B2 { 5*f4a2713aSLionel Sambuc typedef B1 Base1; 6*f4a2713aSLionel Sambuc typedef B2 Base2; 7*f4a2713aSLionel Sambuc }; 8*f4a2713aSLionel Sambuc 9*f4a2713aSLionel Sambuc // RUN: env CINDEXTEST_SUPPRESSREFS=1 c-index-test -index-file %s | FileCheck %s 10*f4a2713aSLionel Sambuc // CHECK: [indexDeclaration]: kind: c++-class | name: Sub 11*f4a2713aSLionel Sambuc // CHECK-NOT: [indexEntityReference]: kind: c++-class | name: B1 12*f4a2713aSLionel Sambuc // CHECK-NOT: [indexEntityReference]: kind: c++-class | name: B2 13