Test for a syntax fold being created correctly when an ending region match becomes not ending

STARTTEST
:%d
:se fdm=syntax
:se fml=3
:sy region r start="^\z(r\+\)" end="^\z1 "me=s-1 fold contains=r
ir r
r r
rrr r
rrr rkkIrggzcdd:sy region r start="^s" end="^$" fold
Gos
 s
 s
 szcGdd:wq test.out
ENDTEST

