Debian Codegraph @

gcc/testsuite/gfortran.dg/pr104572.f90

raw
1 ! { dg-do compile }
2 ! { dg-additional-options "-w" }
3 ! PR fortran/104572 - ICE in gfc_resolve_finalizers
4 ! Contributed by G. Steinmetz
5
6 module m
7 type t
8 contains
9 final :: s
10 end type
11 contains
12 subroutine s(*) ! { dg-error "Argument of FINAL procedure" }
13 end
14 end