brintos

brintos / llvm-project-archived public Read only

0
0
Text · 243 B · 5ece41a Raw
12 lines · cpp
1// RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple -o - %s | FileCheck %s2 3namespace N {4  void free(void *i) {}5}6 7int main(void) {8  // CHECK: call {{.*}}void @_ZN1N4freeEPv9  void *fp __attribute__((cleanup(N::free)));10  return 0;11}12