annotate gcc/testsuite/gfortran.dg/contiguous_2.f90 @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ! { dg-do compile }
kono
parents:
diff changeset
2 ! { dg-options "-std=f2003" }
kono
parents:
diff changeset
3 !
kono
parents:
diff changeset
4 ! PR fortran/40632
kono
parents:
diff changeset
5 !
kono
parents:
diff changeset
6 ! CONTIGUOUS compile-time tests
kono
parents:
diff changeset
7 !
kono
parents:
diff changeset
8
kono
parents:
diff changeset
9 integer, pointer, contiguous :: a(:) ! { dg-error "Fortran 2008:" }
kono
parents:
diff changeset
10 integer, pointer :: b(:)
kono
parents:
diff changeset
11 contiguous :: b ! { dg-error "Fortran 2008:" }
kono
parents:
diff changeset
12 end