aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AArch64/dot-req-case-insensitive.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/AArch64/dot-req-case-insensitive.s')
-rw-r--r--test/MC/AArch64/dot-req-case-insensitive.s18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/MC/AArch64/dot-req-case-insensitive.s b/test/MC/AArch64/dot-req-case-insensitive.s
new file mode 100644
index 0000000..e68b101
--- /dev/null
+++ b/test/MC/AArch64/dot-req-case-insensitive.s
@@ -0,0 +1,18 @@
+// RUN: llvm-mc -triple=arm64-eabi < %s | FileCheck %s
+_foo:
+ OBJECT .req x2
+ mov x4, OBJECT
+ mov x4, oBjEcT
+ .unreq oBJECT
+
+_foo2:
+ OBJECT .req w5
+ mov w4, OBJECT
+ .unreq OBJECT
+
+// CHECK-LABEL: _foo:
+// CHECK: mov x4, x2
+// CHECK: mov x4, x2
+
+// CHECK-LABEL: _foo2:
+// CHECK: mov w4, w5