Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
e0cdb4edd8f265d0fd22d178d03c597dd201cda2
/
.
/
test
/
CodeGenCXX
/
virtual-operator-call.cpp
blob: 42d38e55a04f3f8f85480ab88e74633e4882fc11 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
struct
A
{
virtual
int
operator
-()
=
0
;
};
void
f
(
A
*
a
)
{
// CHECK: call i32 %
-*
a
;
}