1*9880d681SAndroid Build Coastguard Worker; RUN: not llvm-as < %s >& /dev/null 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Workerdeclare void @llvm.gcroot(i8**, i8*) 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Workerdefine void @f(i8* %x) { 6*9880d681SAndroid Build Coastguard Worker %root = alloca i8* 7*9880d681SAndroid Build Coastguard Worker call void @llvm.gcroot(i8** %root, i8* null) 8*9880d681SAndroid Build Coastguard Worker store i8* %x, i8** %root 9*9880d681SAndroid Build Coastguard Worker ret void 10*9880d681SAndroid Build Coastguard Worker} 11