1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
/*=============================================================================
Boost.Wave: A Standard compliant C++ preprocessor library
http://www.boost.org/
Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost
Software License, Version 1.0. (See accompanying file
LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
=============================================================================*/
// Tests, if a diagnostic is emitted, if a predefined macro is to be undefined.
//R
//E t_3_001.cpp(14): warning: #undef may not be used on this predefined name: __cplusplus
#undef __cplusplus // should emit a warning
//H 10: t_3_001.cpp(14): #undef
//H 18: boost::wave::preprocess_exception
|