1 /*============================================================================= 2 Boost.Wave: A Standard compliant C++ preprocessor library 3 http://www.boost.org/ 4 5 Copyright (c) 2020 Jeff Trull. 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 // Check for malformed computed includes 11 12 //O --c++17 13 //O -Werror 14 15 // macro that does *not* evaluate to a quoted or bracketed string 16 #define FOO BAR 17 #if __has_include(FOO) 18 #warning for some reason has_include likes this non-file-looking macro 19 #endif 20 21 //E t_2_030.cpp(17): error: ill formed __has_include expression: BAR 22