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