summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/histogram/test/axis_variable_fail0.cpp
blob: b98930cb239dfca5dfbcd4bb000c8b5acd13bcc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2019 Hans Dembinski
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)

#include <boost/histogram/axis/variable.hpp>

using namespace boost::histogram;

int main() {
  // variable axis requires a floating point value type
  (void)axis::variable<int>({1, 2, 3});
}