| 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, whether macro redefinition does not crash anymore, even if the new |
| 11 | // replacement list is shorter, than the initial one. |
| 12 | |
| 13 | //E t_9_018.cpp(15): warning: illegal macro redefinition: M1 |
| 14 | #define M1 1 |
| 15 | #define M1 |
| 16 | |
| 17 | //H 10: t_9_018.cpp(14): #define |
| 18 | //H 08: t_9_018.cpp(14): M1=1 |
| 19 | //H 10: t_9_018.cpp(15): #define |
| 20 | //H 18: boost::wave::macro_handling_exception |
| 21 | |