t_9_021.cpp 859 B

123456789101112131415161718192021222324
  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. // Verifies that preprocessing directives are properly recognized only if
  9. // the '#' is really the first character on a line before macro expansion.
  10. // See http://www.open-std.org/jtc1/sc22/wg14/docs/rr/dr_144.html.
  11. #define EMPTY
  12. EMPTY # define M 1
  13. //R #line 15 "t_9_021.cpp"
  14. //R #define M 1
  15. //H 10: t_9_021.cpp(14): #define
  16. //H 08: t_9_021.cpp(14): EMPTY=
  17. //H 01: t_9_021.cpp(14): EMPTY
  18. //H 02:
  19. //H 03: _