Debian Codegraph @

gcc/testsuite/gfortran.dg/contiguous_12.f90

raw
1 ! { dg-do compile }
2 ! PR fortran/108025
3
4 subroutine foo (x)
5 real, contiguous :: x(:)
6 contiguous :: x ! { dg-error "Duplicate CONTIGUOUS attribute" }
7 end