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
Plugins: Add label-text.h to CPPLIB_H so it will be installed [PR115288]
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
coarray_49.f90
blob
370e3fd5847c8729054f058ea12c99f6a1b73e38
1
! { dg-do compile }
2
! { dg-options "-fcoarray=lib" }
3
! PR fortran/101565 - ICE in gfc_simplify_image_index
4
! Contributed by G. Steinmetz
5
6
program
p
7
integer
::
x
[*]
8
print
*,
image_index
(
x
, [
1.0
])
! { dg-error "shall be INTEGER" }
9
end