Debian Codegraph @

gcc/testsuite/gfortran.dg/contiguous_2.f90

raw
1 ! { dg-do compile }
2 ! { dg-options "-std=f2003" }
3 !
4 ! PR fortran/40632
5 !
6 ! CONTIGUOUS compile-time tests
7 !
8
9 integer, pointer, contiguous :: a(:) ! { dg-error "Fortran 2008:" }
10 integer, pointer :: b(:)
11 contiguous :: b ! { dg-error "Fortran 2008:" }
12 end