When deriving d'Alembert's Principle it must be assumed, that the total virtual work done by constraint forces vanishes. $$\sum_{j=1}^N\mathbf{C}_j\cdot\delta \mathbf{r}_j=0.$$ In the books I've read, the authors have made it a point to state, that the virtual work being done by individual constraints forces doesn't have to be zero. It isn't quite clear to me how that would be possible. I can't think of a single example where any constraint force does any virtual work.
So I'm searching for a system where: $\exists j\in\{1,\ldots,N\}:\quad\mathbf{C}_j\cdot\delta \mathbf{r}_j\neq0.$