clang/test/Frontend/rewrite-includes-bom.c
raw| 1 | // RUN: cat %S/Inputs/rewrite-includes-bom.h | od -t x1 | grep -q 'ef[[:space:]]*bb[[:space:]]*bf' |
| 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[[:space:]]*bb[[:space:]]*bf' |
| 4 | // RUN: %clang_cc1 -fsyntax-only -verify %t.c |
| 5 | // expected-no-diagnostics |
| 6 | // UNSUPPORTED: system-windows |
| 7 | |
| 8 | #include "rewrite-includes-bom.h" |