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