mirror of
https://github.com/boostorg/wave.git
synced 2026-01-27 19:32:16 +00:00
21 lines
749 B
C++
21 lines
749 B
C++
/*=============================================================================
|
|
Boost.Wave: A Standard compliant C++ preprocessor library
|
|
http://www.boost.org/
|
|
|
|
Copyright (c) 2001-2005 Hartmut Kaiser. Distributed under the Boost
|
|
Software License, Version 1.0. (See accompanying file
|
|
LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
=============================================================================*/
|
|
|
|
// Tests, if function-like macros buried deep inside a macro expansion of the
|
|
// same name as an object-like macro do not eat up more tokens, than expected.
|
|
|
|
#define PRIMITIVE_CAT(a, b) a ## b
|
|
|
|
#define EAT(n) PRIMITIVE_CAT(EAT_, n)
|
|
#define EAT_1(a)
|
|
|
|
//R #line 20 "001_023.cpp"
|
|
//R EAT_1...
|
|
EAT(1)...
|