summaryrefslogtreecommitdiff
path: root/test/MC/AsmParser/macro-rept-err1.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/AsmParser/macro-rept-err1.s')
-rw-r--r--test/MC/AsmParser/macro-rept-err1.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MC/AsmParser/macro-rept-err1.s b/test/MC/AsmParser/macro-rept-err1.s
new file mode 100644
index 0000000000..db92856a1d
--- /dev/null
+++ b/test/MC/AsmParser/macro-rept-err1.s
@@ -0,0 +1,6 @@
+// RUN: not llvm-mc -triple x86_64-unknown-unknown %s 2> %t
+// RUN: FileCheck < %t %s
+
+.endr
+
+// CHECK: unexpected '.endr' directive, no current .rept