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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [runtime_warning_1.f90] - Blame information for rev 193

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

Line No. Rev Author Line
1 149 jeremybenn
! Test runtime warnings using non-standard $ editing - PR20006.
2
!
3
! Contributor Francois-Xavier Coudert  
4
!
5
! { dg-options "-pedantic" }
6
! { dg-do run }
7
!
8
     character*5 c
9
     open (42,status='scratch')
10
     write (42,'(A,$)') 'abc' ! { dg-warning ".*descriptor" "" }
11
     write (42,'(A)') 'de'
12
     rewind (42)
13
     read (42,'(A)') c
14
     close (42)
15
     if (c /= 'abcde') call abort ()
16
     end
17
! { dg-warning ".*descriptor" "" 10}

powered by: WebSVN 2.1.0

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