2 ! { dg-options -std=f2018 }
4 ! copied from continuation_4.f90 - but use -std=f2018
5 ! Fortran 2018: Continuation-line limit is 255 <<< TESTED
6 ! Fortran 2023: Maximally 1,000,000 characters per statement (implied but no explicit continuation-line line limit)
8 ! PR 19262 Test limit on line continuations. Test case derived form case in PR
9 ! by Steve Kargl. Submitted by Jerry DeLisle <jvdelisle@gcc.gnu.org>
11 "1" // & ! 1 Counting in groups of 40.
266 "0" ! { dg-warning "Limit of 255 continuations exceeded" }