2
0
mirror of https://github.com/boostorg/wave.git synced 2026-01-27 07:22:15 +00:00
Files
wave/test/testwave/testfiles/t_9_011.cpp
2005-05-04 07:24:44 +00:00

20 lines
731 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)
=============================================================================*/
// Test, if additional whitespace is inserted at appropriate places.
//O --variadics
#define PRIMITIVE_CAT(a, b) a ## b
#define PRIMITIVE_CAT3(a, b, c) a ## b ## c
//R #line 18 "t_9_011.cpp"
PRIMITIVE_CAT(1, ABC) //R 1 ABC
PRIMITIVE_CAT3(ABC, 1, ABC) //R ABC1ABC