'not' on Windows tries and fails to convert the argument to UTF-16 and back for
some reason:
Error: Unable to convert command-line to UTF-16
Let's try replacing it with !.
(There was no obvious way to do these with FileCheck)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195907
91177308-0d34-0410-b5e6-
96231b3b80d8
-// RUN: grep $'^\xEF\xBB\xBF' %S/Inputs/rewrite-includes-bom.h
+// RUN: grep -q $'^\xEF\xBB\xBF' %S/Inputs/rewrite-includes-bom.h
// RUN: %clang_cc1 -E -frewrite-includes -I %S/Inputs %s -o %t.c
-// RUN: not grep $'\xEF\xBB\xBF' %t.c
+// RUN: ! grep -q $'\xEF\xBB\xBF' %t.c
// RUN: %clang_cc1 -fsyntax-only -verify %t.c
// expected-no-diagnostics
// REQUIRES: shell