mirror of https://github.com/microsoft/clang.git
[libclang] Add a libclang test I neglected to commit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150193 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
91d521de48
commit
8e4bc1ec61
|
@ -0,0 +1,12 @@
|
|||
|
||||
#include "index-suppress-refs.hpp"
|
||||
|
||||
class Sub : B1, B2 {
|
||||
typedef B1 Base1;
|
||||
typedef B2 Base2;
|
||||
};
|
||||
|
||||
// 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
|
|
@ -0,0 +1,3 @@
|
|||
|
||||
class B1 {};
|
||||
class B2 {};
|
Loading…
Reference in New Issue