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
Add __builtion_unreachable to vector::size(), vector::capacity()
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
socket1.adb
blob
154a7aff190a328c663a03c507a1290a105b00ec
1
-- { dg-do run { target { ! { hppa*-*-hpux* *-*-solaris2* } } } }
2
3
with
GNAT
.
Sockets
;
use
GNAT
.
Sockets
;
4
procedure
socket1
is
5
X
:
Character
;
6
begin
7
X
:=
'x'
;
8
GNAT
.
Sockets
.
Initialize
;
9
declare
10
H
:
Host_Entry_Type
:=
Get_Host_By_Address
(
Inet_Addr
(
"127.0.0.1"
));
11
begin
12
null
;
13
end
;
14
end
socket1
;