repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gfortran.dg
/
allocate_error_1.f90
blob
42a12159e2821256ab28e10fdc47edd60890f355
1
! { 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