OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2010-04-22 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gfortran.dg
/
array_constructor_type_3.f03
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