RISC-V: Refactor Dynamic LMUL codes
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr104572.f90
blob59fd688d7981197db08969d4a3c69c9d624703ae
1 ! { dg-do compile }
2 ! { dg-additional-options "-w" }
3 ! PR fortran/104572 - ICE in gfc_resolve_finalizers
4 ! Contributed by G. Steinmetz
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