diff --git a/test/lvalue_concept_fail_expected.cpp b/test/lvalue_concept_fail_expected.cpp new file mode 100644 index 0000000..b52c52d --- /dev/null +++ b/test/lvalue_concept_fail_expected.cpp @@ -0,0 +1,15 @@ +#include +#include +#include + +int main() +{ + typedef boost::iterator_archetype< + int + , boost::iterator_archetypes::readable_iterator_t + , boost::single_pass_traversal_tag + > Iter; + boost::function_requires< + boost_concepts::LvalueIteratorConcept >(); + return boost::exit_success; +}