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/] [pr18210.f90] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
! Names in upper case and object names starting column 2
3
! Based on example provided by thomas.koenig@online.de
4
 
5
program pr18210
6
 
7
  real :: a
8
  character*80 :: buffer
9
  namelist /foo/ a
10
 
11
  a = 1.4
12
  open (10, status = "scratch")
13
  write (10,foo)
14
  rewind (10)
15
  read (10, '(a)') buffer
16
  if (buffer(2:4) /= "FOO") call abort ()
17
  read (10, '(a)') buffer
18
  if (buffer(1:2) /= " A") call abort ()
19
  close (10)
20
 
21
end program pr18210

powered by: WebSVN 2.1.0

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