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 target/83368
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
coarray_poly_5.f90
blob
8e6142f935dfa930fe1fe1edf618006cbd57c4b1
1
! { dg-do compile }
2
! { dg-options "-fcoarray=lib -fdump-tree-original" }
3
4
subroutine
test
(
x
)
5
type
t
6
real
,
allocatable
::
x
[:]
7
end type
t
8
9
class
(
t
) ::
x
10
allocate
(
x
%
x
[*])
11
end subroutine
test
12
13
! { dg-final { scan-tree-dump-times "_gfortran_caf_register \\(4, 1, &x->_data->x.token, \\(void \\*\\) &x->_data->x, 0B, 0B, 0\\);" 1 "original" } }