blob: 208a0d155fe71a0c5ecd0e4a828fe74710b5528f [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -ast-print %s | FileCheck %s
Douglas Gregorbd4c4ae2009-08-26 22:36:53 +00002
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}