1 ; RUN: not --crash llc < %s -march=nvptx -mcpu=sm_20 2>&1 | FileCheck %s
3 ; Check that llc dies when given a nonempty global ctor.
4 @llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @foo, ptr null }]
6 ; CHECK: ERROR: Module has a nontrivial global ctor
7 define internal void @foo() {