diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/hollerith.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/hollerith.f90 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gcc/testsuite/gfortran.dg/hollerith.f90 b/gcc/testsuite/gfortran.dg/hollerith.f90 index 697ed22d892..7a4fb736018 100644 --- a/gcc/testsuite/gfortran.dg/hollerith.f90 +++ b/gcc/testsuite/gfortran.dg/hollerith.f90 @@ -23,31 +23,31 @@ i = 4hHell j = 4Ho wo r = 4Hrld! write (line, '(3A4)') i, j, r -if (line .ne. 'Hello world!') call abort +if (line .ne. 'Hello world!') STOP 1 i = 2Hab j = 2Hab r = 2Hab c = 2Hab write (line, '(3A4, 8A)') i, j, r, c -if (line .ne. 'ab ab ab ab ') call abort +if (line .ne. 'ab ab ab ab ') STOP 2 write(line, '(4A8, "!")' ) x -if (line .ne. 'abcdefghijklmnopqrstuvwxyz012345!') call abort +if (line .ne. 'abcdefghijklmnopqrstuvwxyz012345!') STOP 3 write (line, a) 3 -if (line .ne. ' 3') call abort +if (line .ne. ' 3') STOP 4 write (line, a (1,2)) 4 -if (line .ne. ' 4') call abort +if (line .ne. ' 4') STOP 5 write (line, z) 5 -if (line .ne. ' 5') call abort +if (line .ne. ' 5') STOP 6 write (line, z1) 6 -if (line .ne. ' 6') call abort +if (line .ne. ' 6') STOP 7 write (line, z2) 7 -if (line .ne. ' 7') call abort +if (line .ne. ' 7') STOP 8 write (line, z2 (1,2)) 8 -if (line .ne. ' 8') call abort +if (line .ne. ' 8') STOP 9 write (line, '(16A)') z2 -if (line .ne. '(i7)xxxx(i8)xxxx') call abort +if (line .ne. '(i7)xxxx(i8)xxxx') STOP 10 call test (8h hello) end @@ -56,7 +56,7 @@ integer(kind=8) h character(80) line write (line, '(8a)') h -if (line .ne. ' hello') call abort +if (line .ne. ' hello') STOP 11 end subroutine ! { dg-warning "Hollerith constant" "const" { target *-*-* } 15 } |