1 /*============================================================================= 2 Boost.Wave: A Standard compliant C++ preprocessor library 3 http://www.boost.org/ 4 5 Copyright (c) 2020 Jeff Trull. Distributed under the Boost 6 Software License, Version 1.0. (See accompanying file 7 LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 8 =============================================================================*/ 9 10 //O --c++11 11 //O -Werror 12 13 // test that __VA_OPT__ is ignored when not in c++20 mode 14 15 #define FOO(BAR, ...) BAR __VA_OPT__(,) __VA_ARGS__ 16 17 //R #line 19 "t_8_011.cpp" 18 //R something __VA_OPT__(,) other 19 FOO(something, other) 20