summaryrefslogtreecommitdiff
path: root/test/MC/Hexagon/dcfetch-symbol.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Hexagon/dcfetch-symbol.s')
-rw-r--r--test/MC/Hexagon/dcfetch-symbol.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/Hexagon/dcfetch-symbol.s b/test/MC/Hexagon/dcfetch-symbol.s
new file mode 100644
index 0000000000000..8309439a2aaa0
--- /dev/null
+++ b/test/MC/Hexagon/dcfetch-symbol.s
@@ -0,0 +1,8 @@
+# RUN: not llvm-mc -arch=hexagon -filetype=obj %s
+
+#CHECK: 9400c000 { dcfetch(r0 + #0) }
+
+junk:
+{
+ dcfetch(r0 + #junk)
+}