Debian Codegraph @

gcc/testsuite/gfortran.dg/pr68544.f90

raw
1 ! { dg-do compile }
2 ! PF fortran/68544
3 program p
4 real x
5 type t
6 end type
7 x = f(t) ! { dg-error "used as an actual argument" }
8 end
9 subroutine b
10 type t
11 end type
12 print *, shape(t) ! { dg-error "used as an actual argument" }
13 end