summaryrefslogtreecommitdiff
path: root/test/MC/AsmParser/macro-rept-err2.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/AsmParser/macro-rept-err2.s')
-rw-r--r--test/MC/AsmParser/macro-rept-err2.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/AsmParser/macro-rept-err2.s b/test/MC/AsmParser/macro-rept-err2.s
new file mode 100644
index 00000000000..678b4c7eeee
--- /dev/null
+++ b/test/MC/AsmParser/macro-rept-err2.s
@@ -0,0 +1,7 @@
+// RUN: not llvm-mc -triple x86_64-unknown-unknown %s 2> %t
+// RUN: FileCheck < %t %s
+
+.rept 3
+.long
+
+// CHECK: no matching '.endr' in definition