aboutsummaryrefslogtreecommitdiff
path: root/test/Frontend/rewrite-includes-eof.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Frontend/rewrite-includes-eof.c')
-rw-r--r--test/Frontend/rewrite-includes-eof.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Frontend/rewrite-includes-eof.c b/test/Frontend/rewrite-includes-eof.c
new file mode 100644
index 000000000000..af7fd89e3dfd
--- /dev/null
+++ b/test/Frontend/rewrite-includes-eof.c
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 -E -frewrite-includes -I %S/Inputs %s
+// expected-no-diagnostics
+// Note: there's no newline at the end of this C file.
+#include "rewrite-includes-bom.h" \ No newline at end of file