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
* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
dec_structure_12.f90
blob
b6cc5aa12edc2ba6e584fe6fa42cc96babf59e6b
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