utf8-invalid.c revision 20afc2977cd0a6bacbe6218a633cd59a24463e2f
1// RUN: %clang_cc1 -fsyntax-only -verify %s 2// RUN: %clang_cc1 -E %s -o /dev/null 3 4// Note: this file contains invalid UTF-8 before the variable name in the 5// next line. Please do not fix! 6 7extern int �x; // expected-error{{source file is not valid UTF-8}} 8 9#if 0 10// Don't warn about bad UTF-8 in raw lexing mode. 11extern int �x; 12#endif 13