summaryrefslogtreecommitdiff
path: root/test/FileCheck
diff options
context:
space:
mode:
Diffstat (limited to 'test/FileCheck')
-rw-r--r--test/FileCheck/dos-style-eol.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/FileCheck/dos-style-eol.txt b/test/FileCheck/dos-style-eol.txt
new file mode 100644
index 0000000000..4252aad4d3
--- /dev/null
+++ b/test/FileCheck/dos-style-eol.txt
@@ -0,0 +1,11 @@
+// Test for using FileCheck on DOS style end-of-line
+// This test was deliberately committed with DOS style end of line.
+// Don't change line endings!
+// RUN: FileCheck -input-file %s %s
+// RUN: FileCheck --strict-whitespace -input-file %s %s
+
+LINE 1
+; CHECK: {{^}}LINE 1{{$}}
+
+LINE 2
+; CHECK: {{^}}LINE 2{{$}} \ No newline at end of file