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
2009-10-05 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
product_sum_bounds_1.f90
blob
c6390896c17532083ef0453ce9787d451949a5c0
1
! { dg-do compile }
2
program
main
3
real
,
dimension
(
4
,
3
) ::
a
4
real
,
dimension
(
2
) ::
b
5
a
=
21
.
6
b
=
product
(
a
,
dim
=
1
)
! { dg-error "Different shape" }
7
b
=
sum
(
a
,
dim
=
2
)
! { dg-error "Different shape" }
8
end program
main