aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/bracket-darwin.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ARM/bracket-darwin.s')
-rw-r--r--test/MC/ARM/bracket-darwin.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/ARM/bracket-darwin.s b/test/MC/ARM/bracket-darwin.s
new file mode 100644
index 0000000000..dc8b348575
--- /dev/null
+++ b/test/MC/ARM/bracket-darwin.s
@@ -0,0 +1,5 @@
+// RUN: not llvm-mc -triple arm-apple-darwin %s 2> %t
+// RUN: FileCheck -input-file %t %s
+
+// CHECK: error: brackets expression not supported on this target
+.byte [4-3]