repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
allocate_error_7.f90
blob
f1c8bc3db643a08ce6a74f3ee8f106e7fec55c5b
1
! { dg-do compile }
2
!
3
! Code contributed by Gerhard Steinmetz
4
!
5
program
pr82620
6
type
t
(
a
)
7
integer
,
len
::
a
8
end type
9
type
(
t
(:)),
allocatable
::
x
,
y
10
allocate
(
t
(
4
) ::
x
)
11
allocate
)
t
(
7
) ::
y
)
! { dg-error "Syntax error in ALLOCATE" }
12
end program
pr82620