OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gfortran.dg/] [array_constructor_type_3.f03] - Blame information for rev 437

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do run }
2
!
3
! PR fortran/27997
4
!
5
! Test empty array constructor with typespec.
6
!
7
PROGRAM test
8
  IMPLICIT NONE
9
  INTEGER :: array(2)
10
 
11
  array = (/ 5, [INTEGER ::], 6 /)
12
 
13
  IF (array(1) /= 5 .OR. array(2) /= 6) THEN
14
      CALL abort()
15
  END IF
16
END PROGRAM test

powered by: WebSVN 2.1.0

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