We consider the spectral problem generated by the Sturm-Liouville operator with complex-valued potential q(x) ∈ L 2(0, π) and degenerate boundary conditions. We show that the set of potentials q(x) for which there exist associated functions of arbitrarily high order in the system of root functions is everywhere dense in L 1(0, π).