Debian Codegraph @

gcc/testsuite/gfortran.dg/class_result_4.f90

raw
1 ! { dg-do compile }
2 ! PR fortran/78500
3 class(t) function f() ! { dg-error "is not accessible" }
4 f = 1 ! { dg-error "variable must not be polymorphic" }
5 end
6