repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
rank_2.f90
blob
b7d75dbeae418f9752cbb63595335a216b0b0e67
1
! { dg-do compile }
2
! { dg-options "-std=f2003" }
3
!
4
! Fortran < 2008 allows 7 dimensions
5
! Fortran 2008 allows 15 dimensions (including co-array ranks)
6
!
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