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
hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
dec_structure_12.f90
blob
720d6ddc5d072a6a2c2f0d3dcc53dba64f269038
1
! { dg-do compile }
2
! { dg-options "-fdec-structure" }
3
!
4
! Test a regression where multiple anonymous structures failed to
5
! receive unique internal names.
6
!
7
8
implicit none
9
10
structure
/
s
/
11
12
structure
record0
! (2)
13
integer
i
14
end structure
15
16
structure
record1
! regression: Type definition was already defined at (2)
17
real
r
18
end structure
19
20
end structure
21
22
record
/
s
/
var
23
24
var
.
record0
.
i
=
0
25
var
.
record1
.
r
=
0.0
26
27
end