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 tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr36192.f90
blob
ebf95e35bfecad138eaca38bb9f1a499bf8ae540
1
! { dg-do compile }
2
! PR fortran/36192.f90
3
!
4
program
three_body
5
real
,
parameter
::
n
=
2
,
d
=
2
6
real
,
dimension
(
n
,
d
) ::
x
! { dg-error "Expecting a scalar INTEGER" }
7
x
(
1
,:) = (/
1.0
,
0.0
/)
! { dg-error "Unclassifiable" }
8
end program
three_body