Fix warnings occured during profiledboostrap on
[official-gcc.git] / gcc / testsuite / gfortran.dg / rank_1.f90
blob6a81e410bd5a564899b0574f7523ebf3b7b3c206
1 ! { dg-do compile }
2 ! { dg-options "-std=f2008" }
4 ! Fortran < 2008 allows 7 dimensions
5 ! Fortran 2008 allows 15 dimensions (including co-array ranks)
7 ! FIXME: Rank patch was reverted because of PR 36825.
8 integer :: a(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15) ! { dg-error "has more than 7 dimensions" }
9 integer :: b(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16) ! { dg-error "has more than 7 dimensions" }
10 end