]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/histogram/test/axis_integer_fail2.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / histogram / test / axis_integer_fail2.cpp
1 // Copyright 2019 Hans Dembinski
2 //
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt
5 // or copy at http://www.boost.org/LICENSE_1_0.txt)
6
7 #include <boost/histogram/axis/integer.hpp>
8
9 using namespace boost::histogram;
10
11 int main() {
12 // circular integer axis cannot have entries in underflow or overflow bins
13 (void)axis::integer<int, boost::use_default,
14 decltype(axis::option::circular | axis::option::overflow)>(1, 2);
15 }