Home | History | Annotate | Download | only in Lexer
      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 
      6 extern 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.
     10 extern int x;
     11 #endif
     12 
     13 // Don't warn about bad UTF-8 in preprocessor directives.
     14 #define x82 
     15 #pragma mark 
     16