Differential Revision: https://reviews.llvm.org/D66556
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@370219
91177308-0d34-0410-b5e6-
96231b3b80d8
+++ /dev/null
-# Windows line ending tests
-test/Lexer/minimize_source_to_dependency_directives_invalid_error.c text eol=crlf
-test/FixIt/fixit-newline-style.c text eol=crlf
--- /dev/null
+// Test CF+LF are properly handled along with quoted, multi-line #error\r
+// RUN: %clang_cc1 -DOTHER -print-dependency-directives-minimized-source %s 2>&1 | FileCheck %s\r
+\r
+#ifndef TEST\r
+#error "message \\r
+ more message \\r
+ even more"\r
+#endif\r
+\r
+#ifdef OTHER\r
+#include <string>\r
+#endif\r
+\r
+// CHECK: #ifdef OTHER\r
+// CHECK-NEXT: #include <string>\r
+// CHECK-NEXT: #endif\r