brintos

brintos / llvm-project-archived public Read only

0
0
Text · 311 B · 4e5a219 Raw
11 lines · cpp
1// RUN: %clang_cc1 %s -emit-llvm -triple x86_64-unknown-linux-gnu -o - | FileCheck %s2 3// Test annotation attributes on destructors do not crash.4 5struct k {6  ~k() __attribute__((annotate(""))) {}7};8void m() { k(); }9 10// CHECK: @llvm.global.annotations = appending global [2 x { ptr, ptr, ptr, i32, ptr }] [{11