// Copyright (C) 2017-2025 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your option)
// any later version.
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License along
// with this library; see the file COPYING3. If not see
// .
// { dg-do compile }
// { dg-add-options no_pch }
// Define macros for some common variables names that we must not use for
// naming variables, parameters etc. in the library.
// N.B. we cannot use '#pragma GCC poison A' because that also prevents using
// these names even as macro arguments, e.g. #define FOO(A) BAR(A)
#define A (
#define B (
#define C (
#define D (
#define E (
#define F (
#define G (
#define H (
// defines I
#define J (
#define K (
#define L (
#define M (
#define N (
#define O (
#define P (
#define Q (
#define R (
#define S (
#define T (
#define U (
#define V (
#define W (
#define X (
#define Y (
#define Z (
#if __cplusplus >= 201103L
// defines member functions called a() and b()
#else
#define a (
#define b (
#endif
// and defined data members called c
#if __cplusplus <= 201703L
// defines operator""d in C++20
#define d (
// defines std::numbers::e in C++20
#define e (
#endif
#define f (
#define g (
#if __cplusplus >= 201402L
// defines operator ""h in C++14
// defines operator ""i in C++14
#else
#define h (
#define i (
#endif
#define j (
#if __cplusplus >= 201103L
// defines member functions called k()
#else
#define k (
#endif
#define l (
#if __cplusplus >= 201103L
// defines member functions called m() and n()
#else
#define m (
#define n (
#endif
#define o (
#if __cplusplus >= 201103L || defined(_GLIBCXX_PARALLEL)
// defines member functions called p()
// (and defines them too, which is included by Parallel Mode).
#else
#define p (
#endif
#define q (
#define r (
#if __cplusplus >= 201103L || defined(_GLIBCXX_PARALLEL)
// defines member functions called s() and t()
// (and defines them too, which is included by Parallel Mode).
// and define operator ""s in C++14
#else
#define s (
#define t (
#endif
#define u (
#define v (
#define w (
#define x (
#if __cplusplus <= 201703L
// defines operator""y in C++20
#define y (
#endif
#define z (
#define attributes (
#define bin_op (
#define clockid (
#define func (
#define max_val (
#define min_val (
#define object (
#define ostr (
#define policy (
#define sz (
#define tinfo (
#define tmp (
#define token (
#define value_t (
#if __cplusplus < 201103L
#define uses_allocator (
#endif
#if __cplusplus < 201402L
// defines operator""il
#define il (
#endif
#if __cplusplus < 201703L
// defines to_chars_result::ptr and to_chars_result::ec
#define ec (
#define ptr (
//