xref: /aosp_15_r20/external/llvm/test/Assembler/invalid-inline-constraint.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker; Tests bug: https://llvm.org/bugs/show_bug.cgi?id=24646
4*9880d681SAndroid Build Coastguard Worker; CHECK: error: invalid type for inline asm constraint string
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Workerdefine void @foo() nounwind {
7*9880d681SAndroid Build Coastguard Workercall void asm sideeffect "mov x0, #42","=~{x0},~{x19},mov |0,{x19},mov x0, #4~x{21}"()ounwi #4~x{21}"()ounwindret
8