1// Copyright 2022 Peter Dimov
2// Distributed under the Boost Software License, Version 1.0.
3// https://www.boost.org/LICENSE_1_0.txt
4
5#include <boost/describe/bases.hpp>
6#include <boost/core/lightweight_test_trait.hpp>
7
8struct X {};
9
10int main()
11{
12#if defined(BOOST_DESCRIBE_CXX11)
13
14 BOOST_TEST_TRAIT_FALSE((boost::describe::has_describe_bases<X>));
15
16#endif
17
18 return boost::report_errors();
19}
20

source code of boost/libs/describe/test/pedantic_bases_test.cpp