blob: dbe686b04861e4a61ba15c73478918c1fdb70ce3 [file] [log] [blame]
// RUN: %clang_cc1 %s -S -emit-llvm -triple x86_64-unknown-linux-gnu -o - | FileCheck %s
// Test annotation attributes on destructors do not crash.
struct k {
~k() __attribute__((annotate(""))) {}
};
void m() { k(); }
// CHECK: @llvm.global.annotations = appending global [2 x { ptr, ptr, ptr, i32, ptr }] [{