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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [gfortran.dg/] [array_constructor_26.f03] - Blame information for rev 516

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! { dg-options "-std=gnu" }
3
 
4
! PR fortran/36492
5
! Check for incorrect error message with -std=f2003.
6
! Test from comment #4, PR 36492 causing ICE.
7
 
8
MODULE WinData
9
  IMPLICIT NONE
10
  INTEGER (1), PARAMETER :: MAXFLD = 25_1, MAXHED = 5_1, MAXCHR = 80_1
11
  integer :: i
12
  TYPE TWindowData
13
    CHARACTER (MAX_FLD_HED, 1) :: DWFdHd(MAXFLD) = [(" ", i = 1, MAXFLD)]
14
    ! { dg-error "no IMPLICIT type" "" { target *-*-* } 13 }
15
    ! { dg-error "specification expression" "" { target *-*-* } 13 }
16
  END TYPE TWindowData
17
END MODULE WinData
18
 
19
! { dg-final { cleanup-modules "WinData" } }

powered by: WebSVN 2.1.0

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