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
* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
coarray_poly_2.f90
blob
dd5a5537f46e60408797ab4184db65e94f16b9e9
1
! { dg-do compile }
2
! { dg-options "-fcoarray=single" }
3
!
4
type
t
5
end type
t
6
type
(
t
) ::
a
[*]
7
call
test
(
a
)
! { dg-error "Rank mismatch in argument 'x' at .1. .rank-1 and scalar." }
8
contains
9
subroutine
test
(
x
)
10
class
(
t
) ::
x
(:)[*]
11
print
*,
ucobound
(
x
)
12
end
13
end