contract/test/public_function/max_args0_no_tva.cpp
2017-12-18 07:28:12 -08:00

17 lines
609 B
C++

// Copyright (C) 2008-2018 Lorenzo Caminiti
// Distributed under the Boost Software License, Version 1.0 (see accompanying
// file LICENSE_1_0.txt or a copy at http://www.boost.org/LICENSE_1_0.txt).
// See: http://www.boost.org/doc/libs/release/libs/contract/doc/html/index.html
// Test with max argument number set to 0 and no variadic templates.
#ifndef BOOST_NO_CXX11_VARIADIC_TEMPLATES
#error "build must define BOOST_NO_CXX11_VARIADIC_TEMPLATES"
#endif
#if !defined(BOOST_CONTRACT_MAX_ARGS) || BOOST_CONTRACT_MAX_ARGS != 0
#error "build must define MAX_ARGS=0"
#endif
#include "max_args.hpp"