summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/contract/test/invariant/volatile_permissive.cpp
blob: a3d1b987c5ea47e4f523b4ab4ad7b6dda57f9909 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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 no error if permissive even when non-static inv declared volatile.

#ifndef BOOST_CONTRACT_PERMISSIVE
    #error "build must define PERMISSIVE"
#endif
#include "volatile.hpp"