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
/
enum2.adb
blob
e98252a19261864254f634f90e7297fbe791f982
1
-- { dg-do run }
2
-- { dg-options "-gnat05 -O2" }
3
4
with
Enum2_Pkg
;
use
Enum2_Pkg
;
5
6
procedure
Enum2
is
7
type
Enum
is
(
A
,
B
,
C
,
D
);
8
Table
:
array
(
B
..
C
,
1
..
1
)
of
F_String
:= (
others
=> (
others
=>
Null_String
));
9
begin
10
Table
:= (
others
=> (
others
=>
Null_String
));
11
end
;