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
* gcc.target/i386/mpx/hard-reg-1-nov.c (mpx_test): Use "esp"
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
array_section_3.f90
blob
d3093d14d5030494bc017d43a8589d7397f7cc21
1
! { dg-do compile }
2
!
3
! PR fortran/54225
4
!
5
! Contributed by robb wu
6
!
7
program
test
8
implicit none
9
real
::
A
(
2
,
3
)
10
11
print
*,
A
(
1
, *)
! { dg-error "Expected array subscript" }
12
end program
13
14
subroutine
test2
15
integer
,
dimension
(
2
) ::
a
16
a
(*) =
1
! { dg-error "Expected array subscript" }
17
end