2 ! { dg-options "-O -fdump-tree-original" }
3 ! PR 47065 - replace trim with substring expressions.
5 character(len
=10) :: a
, b
6 character(kind
=4,len
=10) :: a4
, b4
7 character(len
=100) :: line
10 if (b
/= 'bcdx') call abort
12 b4
= trim(a4
) // 4_
'x'
13 if (b4
/= 4_
'bcdx') call abort
15 ! { dg-final { scan-tree-dump-times "string_len_trim" 2 "original" } }