OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [runtime_warning_1.f90] - Rev 801

Go to most recent revision | Compare with Previous | Blame | View Log

! Test runtime warnings using non-standard $ editing - PR20006.
!
! Contributor Francois-Xavier Coudert  <coudert@clipper.ens.fr>
!
! { dg-options "-pedantic" }
! { dg-do run }
!
     character(5) c
     open (42,status='scratch')
     write (42,'(A,$)') 'abc' ! { dg-warning ".*descriptor" "" }
     write (42,'(A)') 'de'
     rewind (42)
     read (42,'(A)') c
     close (42)
     if (c /= 'abcde') call abort ()
     end

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.