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_1.f03
blob
fc8813cc5618ef0ffa3488c9e51f4761d7490b18
1
! { dg-do run }
2
!
3
! PR fortran/27997
4
!
5
! Simple array constructor with typespec.
6
!
7
PROGRAM test
8
IMPLICIT NONE
9
INTEGER :: array(5)
10
11
array = (/ INTEGER :: 18, 12, 31, 3, 42.4 /)
12
13
IF (array(1) /= 18 .OR. array(2) /= 12 .OR. &
14
array(3) /= 31 .OR. array(4) /= 3 .OR. array(5) /= 42) THEN
15
CALL abort()
16
END IF
17
END PROGRAM test