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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! { dg-options "-std=gnu" }
3
 
4
! PR fortran/36492
5
! Check for incorrect error message with -std=f2003.
6
! Reduced test triggering the ICE mentioned in comment #4, PR 36492.
7
 
8
implicit none
9
 
10
type t
11
  character (a) :: arr (1) = [ "a" ]
12
  ! { dg-error "no IMPLICIT type" "" { target *-*-* } 11 }
13
  ! { dg-error "specification expression" "" { target *-*-* } 11 }
14
end type t
15
 
16
end

powered by: WebSVN 2.1.0

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