Home | History | Annotate | Download | only in Preprocessor
      1 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -pedantic -verify %s
      2 // RUN: %clang_cc1 -fsyntax-only -std=c++14 -pedantic -verify %s
      3 
      4 #define for 0    // expected-warning {{keyword is hidden by macro definition}}
      5 #define final 1  // expected-warning {{keyword is hidden by macro definition}}
      6 #define override // expected-warning {{keyword is hidden by macro definition}}
      7 
      8 int x;
      9