1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 template <typename _RandomAccessIterator, typename _Compare>
5 void __insertion_sort(_RandomAccessIterator, _Compare);
6 template <typename _RandomAccessIterator, typename _Compare>
7 void __final_insertion_sort(_RandomAccessIterator p1, _Compare p2) {
8 _RandomAccessIterator a;
13 __insertion_sort(0, p2);
15 template <typename _RandomAccessIterator, typename _Size, typename _Compare>
16 void __introsort_loop(_RandomAccessIterator, _Size, _Compare);
17 template <typename _RandomAccessIterator, typename _Compare>
18 void sort(_RandomAccessIterator, _RandomAccessIterator p2, _Compare p3) {
20 __introsort_loop(0, 0, p3);
21 __final_insertion_sort(p2, p3);
47 void qt_notclosestLeaf();
48 inline void C::m_fn1() {
50 if (children.m_fn1()) {
51 sort(c, b, qt_notclosestLeaf);
54 A F::m_fn1() const { const_cast<F *>(this)->d_ptr->m_fn1(); }