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 simple #line functionality 11 12 #line 5 "a_nonexisting_file.cpp" 13 14 //R 15 //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" 16 #error This error should occur at line 8 of "a_nonexisting_file.cpp" 17 18 //H 10: t_2_002.cpp(12): #line 19 //H 17: 5 "a_nonexisting_file.cpp" (5, "a_nonexisting_file.cpp") 20 //H 10: a_nonexisting_file.cpp(8): #error 21 //H 16: This error should occur at line 8 of "a_nonexisting_file.cpp" 22 //H 18: boost::wave::preprocess_exception 23