Testcase for bug
#12130
third line