testcase for line-construction-plus-dataref bug

[#53546195]