PR ipa/83051
[official-gcc.git] / gcc / testsuite / gfortran.dg / tab_continuation.f
blob85d230774b1874ffea88f468df81d37593af0e6e
1 ! { dg-do compile }
3 ! PR fortran/34899
5 ! Allow <tab>1 to <tab>9 as continuation marker, which is a very common
6 ! vendor extension.
8 ! Note: The test suite is run with -pedantic-errors, which both enables
9 ! the tab warning (-pedantic implies -Wtabs) and turns it into errors
10 ! (-pedantic-errors hence implies -Werror=tabs).
12 PARAMETER (LUMIN=11,LUMAX=20,MAPMAX=256,NPLANEMAX=999)
13 INTEGER NAXIS(0:MAPMAX,LUMIN:LUMAX),NAXIS1(0:MAPMAX,LUMIN:LUMAX),
14 1NAXIS2(0:MAPMAX,LUMIN:LUMAX),NAXIS3(0:MAPMAX,LUMIN:LUMAX)
15 end
16 ! { dg-error "Nonconforming tab character in column 1 of line 12" "Nonconforming tab" { target *-*-* } 0 }
17 ! { dg-error "Nonconforming tab character in column 1 of line 13" "Nonconforming tab" { target *-*-* } 0 }
18 ! { dg-error "Nonconforming tab character in column 1 of line 14" "Nonconforming tab" { target *-*-* } 0 }
19 ! { dg-error "Nonconforming tab character in column 1 of line 15" "Nonconforming tab" { target *-*-* } 0 }
20 ! { dg-excess-errors "some warnings being treated as errors" }