1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/Feature/load_module.ll
Petr Hosek ac0fd59c9c [Bugpoint] Only run plugins tests if plugins are enabled
This is a followup to r360991 which applies the same logic to LLVM.

Differential Revision: https://reviews.llvm.org/D62050

llvm-svn: 360993
2019-05-17 06:41:04 +00:00

13 lines
277 B
LLVM

; PR1318
; RUN: opt < %s -load=%llvmshlibdir/LLVMHello%shlibext -hello \
; RUN: -disable-output 2>&1 | grep Hello
; REQUIRES: plugins
; FIXME: On Cygming, it might fail without building LLVMHello manually.
@junk = global i32 0
define i32* @somefunk() {
ret i32* @junk
}