diff options
-rw-r--r-- | clang/test/Frontend/rewrite-includes-bom.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Frontend/rewrite-includes-bom.c b/clang/test/Frontend/rewrite-includes-bom.c index a1aa4c98f86..276c994fb0e 100644 --- a/clang/test/Frontend/rewrite-includes-bom.c +++ b/clang/test/Frontend/rewrite-includes-bom.c @@ -1,4 +1,5 @@ -// RUN: %clang -E -frewrite-includes -I %S/Inputs %s -o - | %clang -fsyntax-only -Xclang -verify -x c - +// RUN: grep '^\xEF\xBB\xBF' %S/Inputs/rewrite-includes-bom.h +// RUN: %clang_cc1 -E -frewrite-includes -I %S/Inputs %s -o - | %clang_cc1 -fsyntax-only -verify -x c - | not grep '\xEF\xBB\xBF' // expected-no-diagnostics #include "rewrite-includes-bom.h" |