1*9880d681SAndroid Build Coastguard Worker; RUN: not llvm-as < %s > /dev/null 2> %t 2*9880d681SAndroid Build Coastguard Worker; RUN: FileCheck %s --input-file=%t 3*9880d681SAndroid Build Coastguard Worker; CHECK: basic block pointers are invalid 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Workerdefine i32 @main() { 6*9880d681SAndroid Build Coastguard Worker %foo = call i8* %llvm.stacksave() 7*9880d681SAndroid Build Coastguard Worker %foop = bitcast i8* %foo to label* 8*9880d681SAndroid Build Coastguard Worker %nret = load label, label* %foop 9*9880d681SAndroid Build Coastguard Worker br label %nret 10*9880d681SAndroid Build Coastguard Worker} 11