• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 intx; // 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 intx;
11  #endif
12  
13  // Don't warn about bad UTF-8 in preprocessor directives.
14  #define x8215  #pragma mark16