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
Increase timeout factor for hppa*-*-* in gcc.dg/long_branch.c
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
allocatable_scalar_3.f90
blob
bdeff0cab5ec4ff2f2693e9c13a7d0a4cabb1a5f
1
! { dg-do run }
2
!
3
! PR 40996: [F03] ALLOCATABLE scalars
4
!
5
! Contributed by Janus Weil <janus@gcc.gnu.org>
6
7
implicit none
8
9
type
::
t
10
integer
,
allocatable
::
i
11
end type
12
13
type
(
t
)::
x
14
15
allocate
(
x
%
i
)
16
17
x
%
i
=
13
18
print
*,
x
%
i
19
if
(.
not
.
allocated
(
x
%
i
))
STOP
1
20
21
deallocate
(
x
%
i
)
22
23
if
(
allocated
(
x
%
i
))
STOP
2
24
25
end