aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/MC/X86/crlf.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/X86/crlf.test b/test/MC/X86/crlf.test
new file mode 100644
index 00000000000..66014456138
--- /dev/null
+++ b/test/MC/X86/crlf.test
@@ -0,0 +1,5 @@
+RUN: printf '\r\n\r\n' | llvm-mc -as-lex | FileCheck %s
+There should only be two end of statements.
+CHECK: EndOfStatement
+CHECK: EndOfStatement
+CHECK-NOT: EndOfStatement