Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
6e2cf8c4d740c44b1908ac2a8cfae206b6a2bf63
/
.
/
test
/
CodeGenCXX
/
virtual-function-calls.cpp
blob: ca5acbabcc993acf616c6ffe9e19cc47a5964546 [
file
] [
log
] [
blame
]
// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
// PR5021
struct
A
{
virtual
void
f
(
char
);
};
void
f
(
A
*
a
)
{
// CHECK: call void %
a
->
f
(
'c'
);
}