blob: b5974a021180758f2499b3480a557b737d05f0a4 [file] [log] [blame]
Douglas Gregorbd4c4ae2009-08-26 22:36:53 +00001// RUN: clang-cc -ast-print %s | FileCheck %s
2
3// CHECK: test12_A::foo()
4struct test12_A {
5 virtual void foo();
6
7 void bar() {
8 test12_A::foo();
9 }
10};
11
12// CHECK: xp->test24_B::wibble()
13struct test24_B {
14 virtual void wibble();
15};
16
17void foo(test24_B *xp) {
18 xp->test24_B::wibble();
19}