Akira Hatanaka | cbbae7f | 2014-09-05 22:30:32 +0000 | [diff] [blame] | 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 | |||||
7 | define void @foo() nounwind { | ||||
8 | call void asm sideeffect "mov x0, #42", "~{x0},~{x19},~x{21}"() nounwind | ||||
9 | ret void | ||||
10 | } |