Sign in
llvm
/
clang
/
3b8d539899d6651504edfbaaa2ea68eb9d7aa6ac
/
.
/
test
/
CodeGenCXX
/
virt-thunk-reference.cpp
blob: 0cd958bf3208176a5d246b25285affcff7019ea6 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -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
&)
{}