1; RUN: not llvm-as <%s 2>&1 | FileCheck %s
2
3; "~x{21}" is not a valid clobber constraint.
4
5; CHECK: invalid type for inline asm constraint string
6
7define void @foo() nounwind {
8 call void asm sideeffect "mov x0, #42", "~{x0},~{x19},~x{21}"() nounwind
9 ret void
10}
11