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
fix pr/45972
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
array_constructor_type_12.f03
blob
e06fd47991a70194bafb31ba3bcd0f47efe8c4ff
1
! { dg-do run }
2
!
3
! PR fortran/27997
4
!
5
! Array constructor with typespec.
6
!
7
real :: a(3)
8
integer :: j(3)
9
a = (/ integer :: 1.4, 2.2, 3.33 /)
10
j = (/ 1.4, 2.2, 3.33 /)
11
if( any(a /= j )) call abort()
12
end