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
2011-02-15 Tobias Burnus <burnus@net-b.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
array_constructor_type_17.f03
blob
f8f15f9eba133e9d8482a9cefdcd4001fa50e15d
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