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
gcc/cp
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
expect1.adb
blob
058fe42c913c42b9a0b20f1f768e20d191c14270
1
-- { dg-do run }
2
3
with
GNAT
.
Expect
;
use
GNAT
.
Expect
;
4
with
Ada
.
Text_IO
;
use
Ada
.
Text_IO
;
5
procedure
expect1
is
6
Process
:
Process_Descriptor
;
7
begin
8
begin
9
Close
(
Process
);
10
raise
Program_Error
;
11
exception
12
when
Invalid_Process
=>
13
null
;
-- expected
14
end
;
15
end
expect1
;