Debian Codegraph @

gcc/testsuite/gfortran.dg/pr69499.f90

raw
1 ! { dg-do compile }
2 ! PR fortran/69499
3 ! Contributed by Gerhard Steinmetz.
4 module m
5 class(*) :: z ! { dg-error "must be dummy, allocatable or pointer" }
6 select type (x => z) ! { dg-error "cannot appear in this scope" }
7 end