I have had to think for a while about this and noticed some subtleties which I still cannot explain.
Firstly, I am wondering about a special case of the non differentiability of a discontinuous function along some interval. If the function is simply undefined at some point it is not a function and thus not differentiable at that point. But suppose it is defined and there is a jump discontinuity by a constant $C$. Then the derivative at that point and everywhere around that point is continuous and defined. So is this a discontinuous function with a continuous derivative?
Secondly, I have found some instances where a function is differentiable, continuous but its derivative is not continuous. For example, the node of a cusp on the y axis will have a unique derivative but the derivative function is not continuous. Or another example, $y = x, a < x < c$ $y=2x, c \leq x < b$. The derivative is jump discontinuous because it shifts up at c, but it is not undefined at c. Are these valid examples? I'm guessing it is possible to integrate jump discontinuous functions.