aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/NVPTX/global-ctor.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/NVPTX/global-ctor.ll')
-rw-r--r--test/CodeGen/NVPTX/global-ctor.ll9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/CodeGen/NVPTX/global-ctor.ll b/test/CodeGen/NVPTX/global-ctor.ll
deleted file mode 100644
index 89155db08ea5..000000000000
--- a/test/CodeGen/NVPTX/global-ctor.ll
+++ /dev/null
@@ -1,9 +0,0 @@
-; RUN: not llc < %s -march=nvptx -mcpu=sm_20 2>&1 | FileCheck %s
-
-; Check that llc dies when given a nonempty global ctor.
-@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @foo, i8* null }]
-
-; CHECK: ERROR: Module has a nontrivial global ctor
-define internal void @foo() {
- ret void
-}