summaryrefslogtreecommitdiff
path: root/test/MC/ARM/reg-list.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ARM/reg-list.s')
-rw-r--r--test/MC/ARM/reg-list.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/ARM/reg-list.s b/test/MC/ARM/reg-list.s
new file mode 100644
index 0000000000000..4dd392e837910
--- /dev/null
+++ b/test/MC/ARM/reg-list.s
@@ -0,0 +1,8 @@
+@ RUN: llvm-mc -triple thumb-apple-darwin10 -show-encoding < %s 2> %t | FileCheck %s
+@ RUN: FileCheck --check-prefix=CHECK-WARNINGS < %t %s
+
+ push {r7, lr}
+@ CHECK-WARNINGS: register not in ascending order in register list
+
+ push {lr, r7}
+@ CHECK: push {lr, r7}