2 ! Original code from gerhard dot steinmetz dot fortran at t-online dot de
5 character :: c1
= 'abc'(: ! { dg-error "error in SUBSTRING" }
6 character :: c2
= 'abc'(3: ! { dg-error "error in SUBSTRING" }
7 character :: c3
= 'abc'(:1 ! { dg-error "error in SUBSTRING" }
8 character :: c4
= 'abc'(2:2 ! { dg-error "error in SUBSTRING" }