Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Preprocessor / macro-reserved-cxx11.cpp
blob6daea953e8a60043a19ea93c82d8dfb4d2eeb9b8
1 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -pedantic -verify %s
2 // RUN: %clang_cc1 -fsyntax-only -std=c++14 -pedantic -verify %s
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}}
8 int x;