SI-3936 - add test case to show that SI-3936 is already fixed

These are exactly the examples given by Lukas Rytz in SI-3936.
They fail with 2.10.1 and compile with 2.10.2 as well as current master.
Merge pull request #2677 from jannic/SI-3936

SI-3936 - add test case to show that SI-3936 is already fixed