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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
realloc_on_assign_22.f90
blob
f759c6aca001f6498db0900ae347783116fffaf1
1
! { dg-do compile }
2
! { dg-options "-fcoarray=single" }
3
!
4
! PR fortran/43366
5
!
6
! Invalid assignment to an allocatable polymorphic var.
7
!
8
type
t
9
end type
t
10
class
(
t
),
allocatable
::
caf
[:]
11
12
caf
=
t
()
! { dg-error "Assignment to polymorphic coarray at .1. is not permitted" }
13
end