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 error reporting for non-unique parameter names 11 12 //E t_1_026.cpp(13): error: duplicate macro parameter name: x 13 #define MACRO(x, x) x 14 // ^ ^ this is illegal 15 16 MACRO(1, 2) 17 18 //H 10: t_1_026.cpp(13): #define 19 //H 18: boost::wave::macro_handling_exception 20