We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4f89a7 commit 354ad55Copy full SHA for 354ad55
clang/test/Frontend/rewrite-includes-bom.c
@@ -1,7 +1,8 @@
1
-// RUN: cat %S/Inputs/rewrite-includes-bom.h | od -t x1 | grep -q 'ef bb bf'
+// RUN: grep -q $'^\xEF\xBB\xBF' %S/Inputs/rewrite-includes-bom.h
2
// RUN: %clang_cc1 -E -frewrite-includes -I %S/Inputs %s -o %t.c
3
-// RUN: cat %t.c | od -t x1 | not grep -q 'ef bb bf'
+// RUN: ! grep -q $'\xEF\xBB\xBF' %t.c
4
// RUN: %clang_cc1 -fsyntax-only -verify %t.c
5
// expected-no-diagnostics
6
+// REQUIRES: shell
7
8
#include "rewrite-includes-bom.h"
0 commit comments