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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
!{ dg-do compile }
2
! this routine tests all the execution paths
3
! through the routine known as match_old_style_init()
4
! it does not make sense in any other context !!
5
      subroutine sub1(Z) !{ dg-error "DATA attribute conflicts" }
6
      integer Z/10/!{ dg-error "DATA"}
7
      end
8
      pure function pi(k)
9
      integer ,intent(in) :: k
10
      integer i / 10 / !{ dg-error "Initialization at " }
11
      pi=3.0
12
      end function pi
13
      subroutine sub2
14
      integer I /  /!{ dg-error "Syntax error in DATA" }
15
      end

powered by: WebSVN 2.1.0

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