Fix the clang-wpa example.
[clang.git] / test / Index / overrides.cpp
blob3dee607e43183bbb7bfb4baccea79e8b57cda53f
1 struct A {
2 virtual void f(int);
3 };
5 struct B {
6 virtual void f(int);
7 virtual void g();
8 };
10 struct C : B, A {
11 virtual void g();
14 struct D : C {
15 virtual void f(int);
18 // RUN: c-index-test -test-load-source local %s | FileCheck %s
19 // CHECK: overrides.cpp:11:16: CXXMethod=g:11:16 [Overrides @7:16] Extent=[11:16 - 11:19]
20 // CHECK: overrides.cpp:15:16: CXXMethod=f:15:16 [Overrides @2:16, @6:16] Extent=[15:16 - 15:22]