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
2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
taft_type2.adb
blob
3a7a318cf6a526bd5d74630392d356b230bcf2e1
1
-- { dg-do compile }
2
-- { dg-options "-g" }
3
4
with
Taft_Type2_Pkg
;
use
Taft_Type2_Pkg
;
5
6
package body
Taft_Type2
is
7
8
procedure
Proc
is
9
A
:
T
;
10
11
function
F
return
T
is
12
My_T
:
T
;
13
begin
14
My_T
:=
Open
;
15
return
My_T
;
16
end
;
17
18
begin
19
A
:=
F
;
20
end
;
21
22
end
Taft_Type2
;