• 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 // Test if invalid or not allowed universal characters are rejected
11 
12 #define \u00ff ...
13 
14 //R #line 16 "t_9_004.cpp"
15 //R ...
16 \u00ff
17 
18 //E t_9_004.cpp(19): error: a universal character name cannot designate a character in the basic character set: \u0061
19 #define \u0061 weird // 0x61 == 'a'
20 
21 \u0061
22 
23 //H 10: t_9_004.cpp(12): #define
24 //H 08: t_9_004.cpp(12): \u00ff=...
25 //H 01: t_9_004.cpp(12): \u00ff
26 //H 02: ...
27 //H 03: ...
28 //H 18: boost::wave::lexing_exception
29