Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gfortran.dg / rank_2.f90
blobb7d75dbeae418f9752cbb63595335a216b0b0e67
1 ! { dg-do compile }
2 ! { dg-options "-std=f2003" }
4 ! Fortran < 2008 allows 7 dimensions
5 ! Fortran 2008 allows 15 dimensions (including co-array ranks)
7 integer :: a(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15) ! { dg-error "more than 7 dimensions" }
8 end