From 0e261f7c4df17c1432f9cc031ae12e3cf5a19347 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195891 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Frontend/rewrite-includes-bom.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/Frontend/rewrite-includes-bom.c b/test/Frontend/rewrite-includes-bom.c index 9a62f4594a..6ab520cc7d 100644 --- a/test/Frontend/rewrite-includes-bom.c +++ b/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" -- 2.40.0