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

21 lines
750 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 the stringize operator in conjunction with varidic macros
//O --variadics
#define STR(...) #__VA_ARGS__
//R #line 17 "t_1_033.cpp"
STR(1, 2, 3) //R "1, 2, 3"
STR(1,2,3) //R "1,2,3"
STR(1 , 2 , 3) //R "1 , 2 , 3"
STR( 1 , 2 , 3 ) //R "1 , 2 , 3"