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/variable.hpp>
8
9using namespace boost::histogram;
10
11int main() {
12 // variable axis requires a floating point value type
13 (void)axis::variable<int>({1, 2, 3});
14}
15

source code of boost/libs/histogram/test/axis_variable_fail0.cpp