1 ! Check that if there is a label or a name on an label-do-stmt,
2 ! then it is not lost when rewriting it to an non-label-do-stmt.
4 ! RUN: %flang_fc1 -fdebug-unparse-with-symbols -pedantic %s 2>&1 | FileCheck %s
9 ! CHECK: end do mainloop
20 mainloop
: do 4 i
=1,100
23 ! cycle mainloop: TODO: fix invalid complaints that mainloop construct