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
2008-07-06 Kai Tietz <kai.tietz@onevision.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
array_constructor_type_3.f03
blob
bebaea5c5d9ce785cc532a4d50f18aea3a8c5cae
1
! { dg-do run }
2
!
3
! PR fortran/27997
4
!
5
! Test empty array constructor with typespec.
6
!
7
PROGRAM test
8
IMPLICIT NONE
9
INTEGER :: array(2)
10
11
array = (/ 5, [INTEGER ::], 6 /)
12
13
IF (array(1) /= 5 .OR. array(2) /= 6) THEN
14
CALL abort()
15
END IF
16
END PROGRAM test