xref: /llvm-project/clang/test/Lexer/utf-16.c (revision 0f1c1be1968076d6f96f8a7bcc4a15cf195ecd97)
1 // RUN: %clang_cc1 %s -fsyntax-only -verify
2 
3 // This test verifies that clang gives a decent error for UTF-16 source files.
4 
5 #include "utf-16.c.txt" // expected-error {{UTF-16 (LE) byte order mark detected}}
6