| 1 |
! { dg-do compile } |
| 2 |
! |
| 3 |
! PR fortran/34899 |
| 4 |
! |
| 5 |
! Allow <tab>1 to <tab>9 as continuation marker, which is a very common |
| 6 |
! vendor extension. |
| 7 |
! |
| 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). |
| 11 |
! |
| 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-prune-output "some warnings being treated as errors" } |