You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
358 B
10 lines
358 B
; RUN: not --crash 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
|
|
}
|