mirror of
https://github.com/boostorg/contract.git
synced 2026-02-27 17:02:15 +00:00
passing all tests with all link combinations shared, static, and header
This commit is contained in:
11
test/disable/pre_disable_no_assertion_prog.cpp
Normal file
11
test/disable/pre_disable_no_assertion_prog.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
// Copyright (C) 2008-2016 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 pre disable no assertion (in programs, but same for libraries).
|
||||
|
||||
#define BOOST_CONTRACT_PRECONDITIONS_DISABLE_NO_ASSERTION
|
||||
#include "prog.hpp"
|
||||
|
||||
Reference in New Issue
Block a user