• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #line functionality with out a given file name
11 
12 #line 5
13 
14 //R
15 //E t_2_003.cpp(8): fatal error: encountered #error directive or #pragma wave stop(): This error should occur at line 8 of "t_2_003.cpp"
16 #error This error should occur at line 8 of "t_2_003.cpp"
17 
18 //H 10: t_2_003.cpp(12): #line
19 //H 17: 5  (5, "")
20 //H 10: t_2_003.cpp(8): #error
21 //H 16: This error should occur at line 8 of "t_2_003.cpp"
22 //H 18: boost::wave::preprocess_exception
23