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
/
parent_ltd_with-child_full_view.adb
blob
cd8cf4240d429e9563b357140fc4136927bfeed0
1
-- { dg-do compile }
2
3
package body
Parent_Ltd_With
.
Child_Full_View
is
4
5
function
New_Child_Symbol
return
Child_Symbol_Access
is
6
Sym
:
constant
Child_Symbol_Access
:=
new
Child_Symbol
'(Comp => 10);
7
8
begin
9
return Sym;
10
end New_Child_Symbol;
11
12
end Parent_Ltd_With.Child_Full_View;