Increase timeout factor for hppa*-*-* in gcc.dg/long_branch.c
[official-gcc.git] / gcc / testsuite / gfortran.dg / hollerith8.f90
blob384904d4e6cbf226c063a702c2f5e7eec69a26c1
1 ! { dg-do run }
2 ! { dg-options "-std=legacy" }
3 ! PR43217 Output of Hollerith constants which are not a multiple of 4 bytes
4 ! Test case prepared from OP by Jerry DeLisle <jvdelisle@gcc.gnu.org>
5 program hello2
6 call wrtout (9hHELLO YOU, 9) ! { dg-warning "Rank mismatch" }
7 stop
8 end
10 subroutine wrtout (iarray, nchrs)
11 integer iarray(1)
12 integer nchrs
14 integer icpw
15 data icpw/4/
16 integer i, nwrds
17 character(len=33) outstr
19 nwrds = (nchrs + icpw - 1) /icpw
20 write(outstr,'(4(z8," "))') (iarray(i), i=1,nwrds)
21 if (outstr.ne."4C4C4548 4F59204F 20202055" .and. &
22 & outstr.ne."48454C4C 4F20594F 55202020") STOP 1
23 return
24 end