aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/inquire_iolength.f90
blob: b6dfee249a938587168337939b6c5bbf8565d35d (plain)
1
2
3
4
5
6
7
8
9
10
! { dg-do compile }
! { dg-options "-std=f95" }
! PR30014 IOLENGTH does not handle KIND=8.  This patch checks the constraints.
! Submitted by Jerry DeLisle  <jvdelisle@gcc.gnu.org>
! F95 Standard 9.6, R923
integer (kind=4) small, x
integer (kind=8) large
inquire (iolength=small) x
inquire (iolength=large) x ! { dg-error "requires default INTEGER" }
end