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
nvptx, libgfortran: Switch out of "minimal" mode
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
array_constructor_type_12.f03
blob
a59734fdb8da8c0e135874728efb805f63ceaffb
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 )) STOP 1
12
end