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/] [allocate_error_1.f90] - Blame information for rev 399

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do run }
2
! { dg-shouldfail "runtime error" }
3
! { dg-output "At line 13.*Attempting to allocate .* 'arr'" }
4
 
5
! PR fortran/37507
6
! Check that locus is printed for ALLOCATE errors.
7
 
8
PROGRAM main
9
  IMPLICIT NONE
10
  INTEGER, ALLOCATABLE :: arr(:)
11
 
12
  ALLOCATE (arr(5))
13
  ALLOCATE (arr(6))
14
END PROGRAM main

powered by: WebSVN 2.1.0

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