Skip to content
Snippets Groups Projects
Commit 54bc0bbf authored by Alp Toker's avatar Alp Toker
Browse files

Ensure that the output BOM test check is run

The first command's output was only reaching one of the two checks previously.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195904 91177308-0d34-0410-b5e6-96231b3b80d8
parent 0fabf8ec
No related branches found
No related tags found
No related merge requests found
// RUN: grep $'^\xEF\xBB\xBF' %S/Inputs/rewrite-includes-bom.h // 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' // RUN: %clang_cc1 -E -frewrite-includes -I %S/Inputs %s -o %t.c
// RUN: not grep $'\xEF\xBB\xBF' %t.c
// RUN: %clang_cc1 -fsyntax-only -verify %t.c
// expected-no-diagnostics // expected-no-diagnostics
// REQUIRES: shell // REQUIRES: shell
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment