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-05-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
array_constructor_type_17.f03
blob
365d43e3f756269705c876efd5c8751145b283ce
1
! { dg-do compile }
2
! { dg-options "-fno-range-check -Wconversion" }
3
! PR fortran/27997
4
!
5
! Range check on array-constructors with typespec.
6
7
PROGRAM test
8
IMPLICIT NONE
9
10
INTEGER(KIND=4) :: arr(1)
11
arr = (/ INTEGER(KIND=4) :: HUGE(0_8) /) ! { dg-warning "Conversion from" }
12
END PROGRAM test