blob: f5330534a53224f494bc2caafb1cde3ac0670aef (
plain)
1
2
3
4
5
6
7
8
9
|
! { dg-do compile }
!
! PR fortran/50163
!
! Contributed by Philip Mason
!
character(len=2) :: xx ='aa'
integer :: iloc=index(xx,'bb') ! { dg-error "has not been declared or is a variable" }
end
|