blob: 05f6c238134f4b9daeda4f4f8ad95a385f1099dc [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 \
Dan Gohmanb1e1e822009-09-08 16:50:01 +00003; RUN: -disable-output |& 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