From 6de7cd1672ad59cdb5c73edb7ec3398bfeb616dc Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Wed, 27 Nov 2013 23:29:37 +0000 Subject: [PATCH] One last portability fix attempt for r195886 llvm-svn: 195891 --- clang/test/Frontend/rewrite-includes-bom.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clang/test/Frontend/rewrite-includes-bom.c b/clang/test/Frontend/rewrite-includes-bom.c index 9a62f4594afd..6ab520cc7dec 100644 --- a/clang/test/Frontend/rewrite-includes-bom.c +++ b/clang/test/Frontend/rewrite-includes-bom.c @@ -1,5 +1,6 @@ -// RUN: grep -E "^\\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 -E "\\xEF\\xBB\\xBF" +// 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 +// REQUIRES: shell #include "rewrite-includes-bom.h"