summaryrefslogtreecommitdiffstats
path: root/test/Frontend/rewrite-includes-bom.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Frontend/rewrite-includes-bom.c')
-rw-r--r--test/Frontend/rewrite-includes-bom.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Frontend/rewrite-includes-bom.c b/test/Frontend/rewrite-includes-bom.c
new file mode 100644
index 0000000..a1aa4c9
--- /dev/null
+++ b/test/Frontend/rewrite-includes-bom.c
@@ -0,0 +1,4 @@
+// RUN: %clang -E -frewrite-includes -I %S/Inputs %s -o - | %clang -fsyntax-only -Xclang -verify -x c -
+// expected-no-diagnostics
+
+#include "rewrite-includes-bom.h"
OpenPOWER on IntegriCloud