2 ! { dg-options "-pedantic-errors" }
3 ! Test the fix for PR89462 in which the shared 'cl' field of the typespec
4 ! shared between 'test', 'TR' and 'aTP' caused the compiler to go into an
6 ! Contributed by Sergei Trofimovich <slyich@gmail.com>
7 CHARACTER*1 FUNCTION test(H
) ! { dg-warning "Old-style character length" }
8 CHARACTER*1 test2
,TR
,aTP
! { dg-warning "Old-style character length" }