void tst_QSet::detach() { QSet<int> set; set.detach(); set.insert(1); set.insert(2); set.detach(); QSet<int> copy = set; set.detach(); }