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

Subversion Repositories openrisc_2011-10-31

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

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! PR 24748
3
 
4
! The compiler used to crash trying to take a substring of an implicit
5
! real scalar.
6
subroutine variant1
7
 ybtable=ylocal(1:2)  ! { dg-error "Syntax error in argument list" }
8
end
9
 
10
! We want the behavior to be the same whether ylocal is implicitly
11
! or explicitly typed.
12
subroutine variant2
13
 real ylocal
14
 ybtable=ylocal(1:2)  ! { dg-error "Syntax error in argument list" }
15
end
16
 

powered by: WebSVN 2.1.0

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