// RUN: %clang_cc1 -fsyntax-only -verify %s -Wmax-tokens
// RUN: %clang_cc1 -fsyntax-only -verify %s -Wmax-tokens -DMAX_TOKENS -fmax-tokens=2
// RUN: %clang_cc1 -fsyntax-only -verify %s -Wmax-tokens -DMAX_TOKENS_OVERRIDE -fmax-tokens=9
int x, y, z;
// expected-note@-1{{total token limit set here}}
// expected-warning@+1{{the total number of preprocessor source tokens (8) exceeds the token limit (2)}}