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
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
attr-cleanup.cpp
blob
5ece41a299477e1f7d2b1f57fc4db7bdaa2edbc8
1
// RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple -o - %s | FileCheck %s
2
3
namespace
N
{
4
void
free
(
void
*
i
) {}
5
}
6
7
int
main
(
void
) {
8
// CHECK: call {{.*}}void @_ZN1N4freeEPv
9
void
*
fp
__attribute__
((
cleanup
(
N
::
free
)));
10
return
0
;
11
}