2 ! { dg-options "-fdump-tree-original" }
4 ! Test the fix for PR80850 in which the _len field was not being
5 ! set for 'arg' in the call to 'foo'.
10 class (mytype
), pointer :: c
12 allocate (c
, source
= mytype (99_8))
25 if (arg
%i
.ne
. 99_8) call abort
33 if (arg
%i
.ne
. 99_8) call abort
38 ! { dg-final { scan-tree-dump-times "arg.*._len" 1 "original" } }