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
PR libfortran/64770 Segfault when trying to open existing file with status="new".
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
test_direct_io.adb
blob
0eb8aa20808e0b9cf714378ff2e37ca1977918cc
1
-- { dg-do run }
2
with
Ada
.
Direct_IO
;
3
4
procedure
Test_Direct_IO
is
5
6
package
BDIO
is new
Ada
.
Direct_IO
(
Boolean
);
7
use
BDIO
;
8
9
FD
:
File_Type
;
10
11
begin
12
Create
(
FD
,
Form
=>
"shared=yes"
);
13
Reset
(
FD
);
14
Close
(
FD
);
15
end
Test_Direct_IO
;