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 ipa/83051
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
coarray_20.f90
blob
8005768fa8011437e2d8f3264834ca754292394c
1
! { dg-do compile }
2
! { dg-options "-fcoarray=single" }
3
!
4
! Before a bogus error (argument not simply contiguous)
5
! was printed instead of the rank mismatch
6
!
7
! PR fortran/18918
8
!
9
integer
::
A
[*]
10
call
bar
(
A
)
! { dg-error "Rank mismatch in argument" }
11
contains
12
subroutine
bar
(
x
)
13
integer
::
x
(
1
)[*]
14
end subroutine
bar
15
end