/*=============================================================================
Wave: A Standard compliant C++ preprocessor
Copyright (c) 2001-2004 Hartmut Kaiser
http://spirit.sourceforge.net/
Use, modification and distribution is subject to 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)
See Copyright.txt for full acknowledgements.
=============================================================================*/
// Tests, if no universal character values are to be generated accidently by
// concatenation
#define CONCAT(a, b) PRIMITIVE_CONCAT(a, b)
#define PRIMITIVE_CONCAT(a, b) a ## b
#define STRINGIZE(x) STRINGIZE_D(x)
#define STRINGIZE_D(x) # x
//STRINGIZE( CONCAT(\, a) )
//E #line 23 "test_files/test30.cpp"
//E "\a"
STRINGIZE( CONCAT(\, u00ff) )
//E "\u00ff"
STRINGIZE( CONCAT(\u00, ff) )
//E "\ u00ff"
STRINGIZE( CONCAT(\u00ff, 56) )
//E "\u00ff56"
//CONCAT(\, a)
//E \a
CONCAT(\, u00ff)
//E \u00ff
CONCAT(\u00, ff)
//E \ u00ff
CONCAT(\u00ff, 56)
//E \u00ff56
STRINGIZE( CONCAT(\, u0061) ) // reports an error
//L (41): error: a universal character name cannot designate a character in the basic character set: \u0061
//R 2