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
re PR fortran/83548 (Compilation Error using logical function in parameter)
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
array_constructor_type_11.f03
blob
e27515c7d7a875a36adf7877b2e76838b446cb66
1
! { dg-do run }
2
!
3
! PR fortran/27997
4
!
5
! Empty array constructor with typespec.
6
!
7
integer :: i(3)
8
i(3:2) = (/ integer :: /)
9
if (len((/ character(5) :: /)) /= 5) call abort()
10
if (kind((/ integer(8) :: /)) /= 8) call abort()
11
end