Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
! RUN: %S/test_errors.sh %s %t %flang_fc1
! REQUIRES: shell
! Test SELECT TYPE and ASSOCIATE errors: C1103
subroutine s1()
class(*),allocatable :: calc[:]
integer,save :: icoa[*]
!ERROR: Selector must not be a coindexed object
associate(sel=>icoa[2])
end associate
icoa = 2
allocate(integer::calc[*])
select type(sel=>calc[2])
end select
end subroutine