[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git] / clang / test / CodeGenCXX / attr-annotate-destructor.cpp
blob4e5a2190a4585c4028352654d75cefdaa7bafa75
1 // RUN: %clang_cc1 %s -emit-llvm -triple x86_64-unknown-linux-gnu -o - | FileCheck %s
3 // Test annotation attributes on destructors do not crash.
5 struct k {
6 ~k() __attribute__((annotate(""))) {}
7 };
8 void m() { k(); }
10 // CHECK: @llvm.global.annotations = appending global [2 x { ptr, ptr, ptr, i32, ptr }] [{