☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
char_result_18.f90
☽
☼
gcc/testsuite/gfortran.dg/char_result_18.f90
code
plain
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