2009-10-05 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / fmt_t_6.f
blob98ca172fab57716e349e377a47647431da3e2f96
1 ! { dg-do run }
2 ! PR34782 tab format failure to display properly (regression vs. g77)
3 character a(6)
4 character(22) :: output
5 data a / 'a', 'b', 'c', 'd', 'e', 'f' /
6 !write(*,'(a)') "123456789012345678901234567890"
7 write(output,'(T20,A3, T1,A4, T5,A2, T7,A2, T9,A4, T17,A2)')
8 1 'a', 'b', 'c', 'd', 'e', 'f'
9 if (output .ne. " b c d e f a") call abort
10 end