summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/virt-thunk-reference.cpp
blob: 4b361cfc3d2c90d74c91cab87611015d0cab322d (plain)
1
2
3
4
5
6
7
// RUN: clang-cc -emit-llvm-only %s

struct A { int a; virtual void aa(int&); };
struct B { int b; virtual void bb(int&); };
struct C : A,B { virtual void aa(int&), bb(int&); };
void C::aa(int&) {}
void C::bb(int&) {}