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/] [program_name_1.f90] - Rev 312
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }
! Tests the fix for PR28762 in which the program name would cause
! the compiler to test the write statement as a variable thereby generating
! an "Expecting VARIABLE" error.
!
! Contributed by David Ham <David@ham.dropbear.id.au>
!
program write
integer :: debuglevel = 1
if (0 < debuglevel) write (*,*) "Hello World"
end program write
Go to most recent revision | Compare with Previous | Blame | View Log