// Test multi pre around post error (for free func, but same for all contracts). #include #include void f() { boost::contract::guard c = boost::contract::function() .precondition([] {}) .postcondition([] {}) .precondition([] {}) // Error (multiple pre around post). ; } int main() { f(); return 0; }