blob: 65c8e444e808d223818a3c2f80644e0644e5de0f [file] [log] [blame]
Akira Hatanakacbbae7f2014-09-05 22:30:32 +00001; 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}