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
runtime: allow preemption in fast syscall return
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
socket1.adb
blob
a6bdade304bc2c949b80cac76b42e682149b4412
1
-- { dg-do run { target { ! "*-*-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
;