blob: 14c1153fa5698ae0519be69bf666609a602f6f1e [file] [log] [blame]
Reid Spencer2a706572007-04-11 21:14:53 +00001; PR1318
NAKAMURA Takumi86c817e2010-11-29 07:58:32 +00002; RUN: opt < %s -load=%llvmshlibdir/LLVMHello%shlibext -hello \
Chandler Carruth49589f02012-07-02 18:37:59 +00003; RUN: -disable-output 2>&1 | grep Hello
NAKAMURA Takumi86c817e2010-11-29 07:58:32 +00004; REQUIRES: loadable_module
5; FIXME: On Cygming, it might fail without building LLVMHello manually.
Reid Spencer2a706572007-04-11 21:14:53 +00006
7@junk = global i32 0
Reid Spencer78732c22007-04-12 01:12:54 +00008
9define i32* @somefunk() {
10 ret i32* @junk
11}
12