• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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++20
11 //O -Werror
12 
13 // tests for changes to variadics handling
14 // specifically, that arg list after named args can be empty
15 
16 #define ok_to_be_empty(BASE, ...) __VA_ARGS__##BASE##__VA_ARGS__
17 
18 //R #line 20 "t_8_002.cpp"
19 //R notemptyfillernotempty
20 ok_to_be_empty(filler, notempty)
21 
22 //R #line 24 "t_8_002.cpp"
23 //R filler
24 ok_to_be_empty(filler)
25