make_histogram_fail0.cpp 363 B

1234567891011121314
  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. #include <boost/histogram/make_histogram.hpp>
  7. using namespace boost::histogram;
  8. int main() {
  9. // argument is not an axis
  10. (void)make_histogram(std::vector<int>{});
  11. }