xref: /aosp_15_r20/external/clang/test/Frontend/rewrite-includes-bom.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // RUN: grep -q $'^\xEF\xBB\xBF' %S/Inputs/rewrite-includes-bom.h
2*67e74705SXin Li // RUN: %clang_cc1 -E -frewrite-includes -I %S/Inputs %s -o %t.c
3*67e74705SXin Li // RUN: ! grep -q $'\xEF\xBB\xBF' %t.c
4*67e74705SXin Li // RUN: %clang_cc1 -fsyntax-only -verify %t.c
5*67e74705SXin Li // expected-no-diagnostics
6*67e74705SXin Li // REQUIRES: shell
7*67e74705SXin Li 
8*67e74705SXin Li #include "rewrite-includes-bom.h"
9