! { dg-do compile }!! PR 86935: Bad locus in ASSOCIATE statement!! Contributed by Janus Weil <janus@gcc.gnu.org>implicit nonetype:: t
real:: r =0.5integer:: i =3end typetype(t) :: x
associate(r => x%r, &
i => x%ii)! { dg-error "Invalid association target" }end