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
RISC-V: Add support for riscv-*-*.
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
debug5.adb
blob
6569a15802963821f728faf2e66cf44981aeffa0
1
-- { dg-do compile }
2
-- { dg-options "-g" }
3
4
procedure
Debug5
is
5
6
type
Record_Type
(
L1
,
L2
:
Natural
)
is record
7
S1
:
String
(
1
..
L1
);
8
case
L2
is
9
when
0
=>
null
;
10
when others
=>
S2
:
String
(
L1
..
L2
);
11
end case
;
12
end record
;
13
14
procedure
Discard
(
R
:
Record_Type
)
is
15
begin
16
null
;
17
end
Discard
;
18
19
R
:
constant
Record_Type
:= (
0
,
0
,
others
=> <>);
20
begin
21
Discard
(
R
);
22
end
Debug5
;