summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/contiguous_2.f90
blob: 782d23dc7cd7a696ec5ce5756015685f548cd3b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
! { dg-do compile }
! { dg-options "-std=f2003" }
!
! PR fortran/40632
!
! CONTIGUOUS compile-time tests
!

integer, pointer, contiguous :: a(:) ! { dg-error "Fortran 2008:" }
integer, pointer :: b(:)
contiguous :: b ! { dg-error "Fortran 2008:" }
end