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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [namelist_57.f90] - Blame information for rev 708

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

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! PR37294 Namelist I/O to array character internal units.
3
! Test case from adapted from PR by Jerry DeLisle 
4
  character(30) :: line(3)
5
  namelist /stuff/ n
6
  n = 123
7
  line = ""
8
  write(line,nml=stuff)
9
  if (line(1) .ne. "&STUFF") call abort
10
  if (line(2) .ne. " N=        123,") call abort
11
  if (line(3) .ne. " /") call abort
12
  end

powered by: WebSVN 2.1.0

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