t_1_036.cpp 705 B

123456789101112131415161718192021
  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 the concatination operator in object like macros
  9. #define OBJECT a ## b
  10. //R #line 15 "t_1_036.cpp"
  11. OBJECT //R ab
  12. //H 10: t_1_036.cpp(12): #define
  13. //H 08: t_1_036.cpp(12): OBJECT=a ## b
  14. //H 01: t_1_036.cpp(12): OBJECT
  15. //H 02: ab
  16. //H 03: ab