load_module.ll 285 B

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