static_volatile_permissive.cpp 465 B

12345678910111213
  1. // Copyright (C) 2008-2018 Lorenzo Caminiti
  2. // Distributed under the Boost Software License, Version 1.0 (see accompanying
  3. // file LICENSE_1_0.txt or a copy at http://www.boost.org/LICENSE_1_0.txt).
  4. // See: http://www.boost.org/doc/libs/release/libs/contract/doc/html/index.html
  5. // Test error if permissive even when static inv declared volatile.
  6. #ifndef BOOST_CONTRACT_PERMISSIVE
  7. #error "build must define PERMISSIVE"
  8. #endif
  9. #include "static_volatile.hpp"