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.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [constant_substring.f] - Blame information for rev 484

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

Line No. Rev Author Line
1 302 jeremybenn
! Simplify constant substring
2
! { dg-do run }
3
! { dg-options "-std=legacy" }
4
!
5
      character*2 a
6
      character*4 b
7
      character*6 c
8
      parameter (a="12")
9
      parameter (b = a(1:2))
10
      write (c,'("#",A,"#")') b
11
      if (c .ne. '#12  #') call abort
12
      end
13
 

powered by: WebSVN 2.1.0

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