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
re PR libfortran/47439 (Fun with scratch files on Windows MKTEMP only allows for...
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
select_type_19.f03
blob
0ae2e1ce2fe515d09593c169fd56281a44e4e7d4
1
! { dg-do run }
2
!
3
! PR 46581: [4.6 Regression] [OOP] segfault in SELECT TYPE with associate-name
4
!
5
! Contributed by Salvatore Filippone <sfilippone@uniroma2.it>
6
7
8
implicit none
9
10
type :: t1
11
integer, allocatable :: ja(:)
12
end type
13
14
class(t1), allocatable :: a
15
16
allocate(a)
17
18
select type (aa=>a)
19
type is (t1)
20
if (allocated(aa%ja)) call abort()
21
end select
22
23
end