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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [nested_array_constructor_4.f90] - Blame information for rev 307

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/35846
4
! Alternate test that also produced an ICE because of a missing length.
5
 
6
PROGRAM test
7
  IMPLICIT NONE
8
  CHARACTER(LEN=2) :: x
9
  INTEGER :: length
10
 
11
  x = 'a'
12
  length = LEN ( (/ TRIM(x), 'a' /) // 'c')
13
 
14
  IF (length /= 2) THEN
15
    CALL abort ()
16
  END IF
17
END PROGRAM

powered by: WebSVN 2.1.0

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