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