Sign in
ara-mdk
/
platform
/
external
/
clang
/
eaafdfc7b475937ed194ad729407481054b99be9
/
.
/
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
;
}