repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
virtual-operator-call.cpp
blob
0ec2d48212b65184b62d818b382b7f84d54f54ab
1
// RUN: %clang_cc1 %s -triple i386-unknown-unknown -emit-llvm -o - | FileCheck %s
2
3
struct
A
{
4
virtual
int
operator
-();
5
};
6
7
void
f
(
A a
,
A
*
ap
) {
8
// CHECK: call noundef i32 @_ZN1AngEv(ptr {{[^,]*}} %a)
9
-
a
;
10
11
// CHECK: call noundef i32 %
12
-*
ap
;
13
}