Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Lexer / minimize_source_to_dependency_directives_utf8bom.c
blob46aba914441bc9a017171f1c92f8c7c5de04395a
1 // Test UTF8 BOM at start of file
2 // RUN: printf '\xef\xbb\xbf' > %t.c
3 // RUN: echo '#ifdef TEST\n' >> %t.c
4 // RUN: echo '#include <string>' >> %t.c
5 // RUN: echo '#endif' >> %t.c
6 // RUN: %clang_cc1 -DTEST -print-dependency-directives-minimized-source %t.c 2>&1 | FileCheck %s
8 // CHECK: #ifdef TEST
9 // CHECK-NEXT: #include <string>
10 // CHECK-NEXT: #endif