Debian Codegraph @

gcc/testsuite/gfortran.dg/char_result_18.f90

raw
1 ! { dg-do compile }
2 !
3 ! Tests the fix for PR80657.
4 !
5 ! Contributed by Vittorio Zecca <[email protected]>
6 !
7 function f(x)
8 implicit character(len(f)) (x) ! { dg-error "Self reference in character length" }
9 character(len(x)) f
10 end