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, if a diagnostic is emitted, if a predefined macro is to be undefined. 11 12 //R 13 //E t_3_001.cpp(14): warning: #undef may not be used on this predefined name: __cplusplus 14 #undef __cplusplus // should emit a warning 15 16 //H 10: t_3_001.cpp(14): #undef 17 //H 18: boost::wave::preprocess_exception 18