1*9880d681SAndroid Build Coastguard Worker; RUN: llvm-as %s -o /dev/null 2*9880d681SAndroid Build Coastguard Worker; RUN: verify-uselistorder %s 3*9880d681SAndroid Build Coastguard Worker; It looks like the assembler is not forward resolving the function declaraion 4*9880d681SAndroid Build Coastguard Worker; correctly. 5*9880d681SAndroid Build Coastguard Worker 6*9880d681SAndroid Build Coastguard Workerdefine void @test() { 7*9880d681SAndroid Build Coastguard Worker call void @foo( ) 8*9880d681SAndroid Build Coastguard Worker ret void 9*9880d681SAndroid Build Coastguard Worker} 10*9880d681SAndroid Build Coastguard Worker 11*9880d681SAndroid Build Coastguard Workerdeclare void @foo() 12