• 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) 2001-2012 Hartmut Kaiser. 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 // Tests error reporting of C99 features in C++ mode (without variadics)
11 
12 #define MACRO(a, b, c)    a ## b ## c
13 
14 //E t_9_013.cpp(15): warning: empty macro arguments are not supported in pure C++ mode, use variadics mode to allow these: MACRO
15 MACRO(1,, 3)
16 
17 //H 10: t_9_013.cpp(12): #define
18 //H 08: t_9_013.cpp(12): MACRO(a, b, c)=a ## b ## c
19 //H 18: boost::wave::preprocess_exception
20