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
/
virt-dtor-gen.cpp
blob
708106b36606a7328025f4018045154b9e17a105
1
// RUN: %clang_cc1 -o - -triple %itanium_abi_triple -emit-llvm %s | FileCheck %s
2
// PR5483
3
4
// Make sure we generate all three forms of the destructor when it is virtual.
5
class
Foo
{
6
virtual
~
Foo
();
7
};
8
Foo
::~
Foo
() {}
9
10
// CHECK-LABEL: define {{.*}}void @_ZN3FooD0Ev(ptr {{[^,]*}} %this) unnamed_addr