mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
b1c09bbef0
This reverts commit 647c3f4e47de8a850ffcaa897db68702d8d2459a. Got bots failure from sanitizer-windows and maybe others.
10 lines
350 B
LLVM
10 lines
350 B
LLVM
; RUN: not llc < %s -march=nvptx -mcpu=sm_20 2>&1 | FileCheck %s
|
|
|
|
; Check that llc dies when given a nonempty global dtor.
|
|
@llvm.global_dtors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @foo, i8* null }]
|
|
|
|
; CHECK: ERROR: Module has a nontrivial global dtor
|
|
define internal void @foo() {
|
|
ret void
|
|
}
|