aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/WebAssembly/global_dtors.ll
blob: be3b7ccf777fa9ca4b5100bb6bc21e6a9b301896 (plain)
1
2
3
4
5
6
7
8
; RUN: llc < %s

target triple = "wasm32-unknown-unknown"

; Check that we do not crash when attempting to lower away
; global_dtors without a definition.

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