2
0
mirror of https://github.com/boostorg/wave.git synced 2026-02-02 09:22:19 +00:00
Files
wave/test/testwave/testfiles/001_035.cpp
Hartmut Kaiser ba631f9425 Added new unit tests.
[SVN r27946]
2005-04-03 18:27:13 +00:00

25 lines
791 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 token pasting with empty empty arguments
//O --variadics
#define PASTE1(a, b, c, d) a ## b ## c ## d
#define PASTE2(a, b, c, d) a##b##c##d
//R #line 18 "001_035.cpp"
PASTE1(1, ,3,4) //R 134
PASTE1(1,,3,4) //R 134
PASTE1(1, , , 4) //R 14
//R
PASTE2(1, ,3,4) //R 134
PASTE2(1,,3,4) //R 134
PASTE2(1, , , 4) //R 14