15c01a454c
[SVN r78634]
23 lines
1003 B
C++
23 lines
1003 B
C++
/*=============================================================================
|
|
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 simple #line functionality
|
|
|
|
#line 5 "a_nonexisting_file.cpp"
|
|
|
|
//R
|
|
//E a_nonexisting_file.cpp(8): fatal error: encountered #error directive or #pragma wave stop(): This error should occur at line 8 of "a_nonexisting_file.cpp"
|
|
#error This error should occur at line 8 of "a_nonexisting_file.cpp"
|
|
|
|
//H 10: t_2_002.cpp(12): #line
|
|
//H 17: 5 "a_nonexisting_file.cpp" (5, "a_nonexisting_file.cpp")
|
|
//H 10: a_nonexisting_file.cpp(8): #error
|
|
//H 16: This error should occur at line 8 of "a_nonexisting_file.cpp"
|
|
//H 18: boost::wave::preprocess_exception
|