llvm/llvm/test/CodeGen/AMDGPU/lower-ctor-dtor-declaration.ll

; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx700 < %s | FileCheck %s

@llvm.global_ctors = external global [2 x { i32, ptr, ptr }]
@llvm.global_dtors = external global [2 x { i32, ptr, ptr }]

; No amdgpu_kernels emitted for global_ctors declaration
; CHECK-NOT: amdgcn.device.init
; CHECK-NOT: amdgcn.device.fini