2007-04-12 05:14:53 +08:00
|
|
|
; PR1318
|
2010-11-29 15:58:32 +08:00
|
|
|
; RUN: opt < %s -load=%llvmshlibdir/LLVMHello%shlibext -hello \
|
2012-07-03 02:37:59 +08:00
|
|
|
; RUN: -disable-output 2>&1 | grep Hello
|
2019-05-17 14:41:04 +08:00
|
|
|
; REQUIRES: plugins
|
2010-11-29 15:58:32 +08:00
|
|
|
; FIXME: On Cygming, it might fail without building LLVMHello manually.
|
2007-04-12 05:14:53 +08:00
|
|
|
|
|
|
|
@junk = global i32 0
|
2007-04-12 09:12:54 +08:00
|
|
|
|
|
|
|
define i32* @somefunk() {
|
|
|
|
ret i32* @junk
|
|
|
|
}
|
|
|
|
|