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