• 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++11
11 //O -Werror
12 
13 // test that arg list after named args CANNOT be empty (in c++11 mode)
14 
15 #define ok_to_be_empty(BASE, ...) __VA_ARGS__##BASE##__VA_ARGS__
16 
17 //R #line 19 "t_8_003.cpp"
18 //R notemptyfillernotempty
19 ok_to_be_empty(filler, notempty)
20 
21 //E t_8_003.cpp(22): warning: too few macro arguments: ok_to_be_empty
22 ok_to_be_empty(filler)
23