3 character(len
=*),parameter :: VALUES(*)=[character(len
=10) :: 'NaN','NAN','nan','Inf','INF','inf','Infinity']
4 character(len
=*),parameter :: VALUE
='NaN'
7 read(VALUES(i
),*) float
! { dg-error "character PARAMETER" }
8 write(VALUES(i
),*)float
! { dg-error "character PARAMETER" }
10 read(var
,*)float
! { dg-error "INTEGER expression or a CHARACTER" }
11 read(VALUE
,*)float
! { dg-error "character PARAMETER" }
12 write(VALUE
,*)float
! { dg-error "character PARAMETER" }