2
0
mirror of https://github.com/boostorg/wave.git synced 2026-01-25 18:52:30 +00:00
Files
wave/test/testwave/testfiles/t_2_001.cpp
2005-05-04 07:24:44 +00:00

19 lines
797 B
C++

/*=============================================================================
Boost.Wave: A Standard compliant C++ preprocessor library
http://www.boost.org/
Copyright (c) 2001-2005 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 the #warning directive (note: only available, if enabled during
// compilation, the macro expansion is available only, when enabled separately
// during the compilation too)
//R
//E t_2_001.cpp(18): warning: encountered #warning directive: This is a warning
#define WARNING1 This is a
#define WARNING2 warning
#warning WARNING1 WARNING2