t_9_013.cpp 832 B

12345678910111213141516171819
  1. /*=============================================================================
  2. Boost.Wave: A Standard compliant C++ preprocessor library
  3. http://www.boost.org/
  4. Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost
  5. Software License, Version 1.0. (See accompanying file
  6. LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  7. =============================================================================*/
  8. // Tests error reporting of C99 features in C++ mode (without variadics)
  9. #define MACRO(a, b, c) a ## b ## c
  10. //E t_9_013.cpp(15): warning: empty macro arguments are not supported in pure C++ mode, use variadics mode to allow these: MACRO
  11. MACRO(1,, 3)
  12. //H 10: t_9_013.cpp(12): #define
  13. //H 08: t_9_013.cpp(12): MACRO(a, b, c)=a ## b ## c
  14. //H 18: boost::wave::preprocess_exception