diff --git a/test/Jamfile b/test/Jamfile index 71199ca..40b4f8a 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -73,6 +73,8 @@ run union_test2.cpp ; run pedantic_enumerators_test.cpp : : : pedantic ; +run pedantic_bases_test.cpp + : : : pedantic ; # examples diff --git a/test/pedantic_bases_test.cpp b/test/pedantic_bases_test.cpp new file mode 100644 index 0000000..ea00595 --- /dev/null +++ b/test/pedantic_bases_test.cpp @@ -0,0 +1,19 @@ +// Copyright 2022 Peter Dimov +// Distributed under the Boost Software License, Version 1.0. +// https://www.boost.org/LICENSE_1_0.txt + +#include +#include + +struct X {}; + +int main() +{ +#if defined(BOOST_DESCRIBE_CXX11) + + BOOST_TEST_TRAIT_FALSE((boost::describe::has_describe_bases)); + +#endif + + return boost::report_errors(); +}