Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
b75009c53084f97a8e295164c07d1007e66ccefa
/
.
/
test
/
CodeGenCXX
/
attr-cleanup.cpp
blob: ff15b03de57c5f988b638f74275491a746056272 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
namespace
N
{
void
free
(
void
*
i
)
{}
}
int
main
(
void
)
{
// CHECK: call void @_ZN1N4freeEPv
void
*
fp __attribute__
((
cleanup
(
N
::
free
)));
return
0
;
}