OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do compile }
2
! Tests the fix for PR28762 in which the program name would cause
3
! the compiler to test the write statement as a variable thereby generating
4
! an "Expecting VARIABLE" error.
5
!
6
! Contributed by David Ham  
7
!
8
program write
9
  integer :: debuglevel = 1
10
  if (0 < debuglevel) write (*,*) "Hello World"
11
end program write

powered by: WebSVN 2.1.0

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