PR target/83368
[official-gcc.git] / gcc / testsuite / gfortran.dg / contiguous_6.f90
blobb17c7ed8771cb0042154ab261d3f23f081c568ae
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