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