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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [write_check.f90] - Blame information for rev 308

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do run }
2
! { dg-shouldfail "Compile-time specifier checking" }
3
! Check keyword checking for specifiers
4
! PR fortran/29452
5
program test
6
  implicit none
7
  character(len=5) :: str
8
  str = 'yes'
9
  write(*,'(a)',advance=str) ''
10
  str = 'no'
11
  write(*,'(a)',advance=str) ''
12
  str = 'NOT'
13
  write(*,'(a)',advance=str) ''
14
end program test
15
! { dg-output "At line 13 of file.*" }
16
! { dg-output "Bad ADVANCE parameter in data transfer statement" }

powered by: WebSVN 2.1.0

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