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
PR inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
array_constructor_type_3.f03
blob
e8d10bf37f6f3daf3441a3f400560260bdc032d1
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
STOP 1
15
END IF
16
END PROGRAM test