OSDN Git Service

2010-07-29 Tobias Burnus <burnus@net-b.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / contiguous_2.f90
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