Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
327568ec139958def07e30f37a1bafac38819676
/
.
/
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
;
}