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
PR target/83368
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr68153.f90
blob
1a360f80cd62f6b75cd00fbe3289d6bbcc26807b
1
! { dg-do compile }
2
! PR fortran/68153
3
! Original code contribute by Gerhard Steinmetz
4
! <gerhard dot steinmetz dot fortran at t-online dot de>
5
!
6
program
foo
7
integer
,
parameter
::
a
(
2
) = [
2
, -
2
]
8
integer
,
parameter
::
b
(
2
,
2
) =
reshape
([
1
,
2
,
3
,
4
],
a
)
! { dg-error "cannot be negative" }
9
end program
foo