blob: 1829df8fced4bc5cbb8497a6d55a968c68250d4e [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;
}