mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
6 lines
256 B
LLVM
6 lines
256 B
LLVM
|
; RUN: llc < %s -march=nvptx -mcpu=sm_20 2>&1
|
||
|
|
||
|
; Check that llc doesn't die when given an empty global ctor / dtor.
|
||
|
@llvm.global_ctors = appending global [0 x { i32, void ()*, i8* }] []
|
||
|
@llvm.global_dtors = appending global [0 x { i32, void ()*, i8* }] []
|