☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
func_derived_5.f90
☽
☼
gcc/testsuite/gfortran.dg/func_derived_5.f90
code
plain
raw
1
! { dg-do compile }
2
! PR fortran/41369 - rejected empty type in function return values
3
4
module m
5
type t
6
end type t
7
end module
8
9
type(t) function foo()
10
use m
11
foo = t()
12
end function foo