A test case is simple. You need to compile something that has a lot of error messages.
In my case I tried to compile 32-bit code using 64-bit version of TDM-GCC (by passing -m32) and linking against 64-bit libraries. This is an artificial test case but it highlights the problem.