PR c/29467
[official-gcc.git] / gcc / testsuite / gfortran.dg / contiguous_2.f90
blob782d23dc7cd7a696ec5ce5756015685f548cd3b0
1 ! { dg-do compile }
2 ! { dg-options "-std=f2003" }
4 ! PR fortran/40632
6 ! CONTIGUOUS compile-time tests
9 integer, pointer, contiguous :: a(:) ! { dg-error "Fortran 2008:" }
10 integer, pointer :: b(:)
11 contiguous :: b ! { dg-error "Fortran 2008:" }
12 end