]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/wave/test/testwave/testfiles/t_3_001.cpp
1 /*=============================================================================
2 Boost.Wave: A Standard compliant C++ preprocessor library
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 =============================================================================*/
10 // Tests, if a diagnostic is emitted, if a predefined macro is to be undefined.
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
16 //H 10: t_3_001.cpp(14): #undef
17 //H 18: boost::wave::preprocess_exception