]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/wave/test/testwave/testfiles/t_8_005.cpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / wave / test / testwave / testfiles / t_8_005.cpp
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 //O --c++20
11 //O -Werror
12
13 // test that __VA_OPT__ cannot be used as a object-like macro
14
15 //E t_8_005.cpp(16): error: __VA_OPT__ can only appear in the expansion of a C++20 variadic macro: __VA_OPT__
16 #define __VA_OPT__ something somethingelse