Sign in
llvm
/
llvm-project
/
clang
/
a02690efdad6df0a2756e08b5ca71f0b195d7713
/
.
/
test
/
CodeGenCXX
/
derived-to-base.cpp
blob: 63492d604d17b87f7ba7b476c2397048725ee20e [
file
] [
log
] [
blame
]
// RUN: clang-cc -emit-llvm %s -o -
struct
A
{
void
f
();
int
a
;
};
struct
B
:
A
{
double
b
;
};
void
f
()
{
B b
;
b
.
f
();
}