// TEST CASE - this causes a segfault in macOS with clang v5.0.0 #include #include #include int main() { auto ss = new boost::icl::split_interval_set(); std::vector> rs = {{88, 96}, {72, 96}, {80, 96}, {24, 64}, {80, 96}, {32, 72}, {88, 96}, {16, 56}}; for (const auto &r : rs) { ss->add(boost::icl::interval::right_open(r.first, r.second)); } return ss->size(); }