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
c++: prvalue of array type [PR111286]
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
discr55.adb
blob
0444672d96deed54aa0452b42cf39d5726522159
1
-- { dg-do run }
2
3
procedure
Discr55
is
4
5
type
Rec
(
C
:
Character
)
is record
6
case
C
is
7
when
'Z'
..
Character
'Val
(
128
) =>
I
:
Integer
;
8
when others
=>
null
;
9
end case
;
10
end record
;
11
12
R
:
Rec
(
'Z'
);
13
14
begin
15
R
.
I
:=
0
;
16
end
;