clang/test/Frontend/rewrite-includes-mixed-eol-lf.c
raw| 1 | // RUN: %clang_cc1 -E -frewrite-includes %s | %clang_cc1 - |
| 2 | // expected-no-diagnostics |
| 3 | // Note: This source file has LF line endings. |
| 4 | // This test validates that -frewrite-includes translates the end of line (EOL) |
| 5 | // form used in header files to the EOL form used in the the primary source |
| 6 | // file when the files use different EOL forms. |
| 7 | #include "rewrite-includes-mixed-eol-crlf.h" |
| 8 | #include "rewrite-includes-mixed-eol-lf.h" |