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
2014-07-12 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
realloc_on_assign_21.f90
blob
fd8f9aca939781b3d668897d4612788a0682975b
1
! { dg-do compile }
2
! { dg-options "-fno-realloc-lhs" }
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
::
var
11
12
var
=
t
()
! { dg-error "Assignment to an allocatable polymorphic variable at .1. requires -frealloc-lhs" }
13
end