Debian Codegraph @

gcc/testsuite/gfortran.dg/contiguous_6.f90

raw
1 ! { dg-do compile }
2 ! PR fortran/83742
3 ! Contributed by Gerhard Steinmetz <gscfq at t-online dot de>
4 program p
5 real, target :: a
6 real, pointer, contiguous :: b => a ! { dg-error "has the CONTIGUOUS attribute" }
7 end