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
RISC-V: Refactor Dynamic LMUL codes
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr68153.f90
blob
46a3bc029d7167e3ecc351831ca3725d2090c33f
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 "negative" }
9
end program
foo