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
Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
aggr16.adb
blob
2f559da25f9bf4fd1dd0e0a60797581a17eb0291
1
-- { dg-do compile }
2
3
with
Aggr16_Pkg
;
use
Aggr16_Pkg
;
4
5
package body
Aggr16
is
6
7
type
Arr
is array
(
1
..
4
)
of
Time
;
8
9
type
Change_Type
is
(
One
,
Two
,
Three
);
10
11
type
Change
(
D
:
Change_Type
)
is record
12
case
D
is
13
when
Three
=>
14
A
:
Arr
;
15
when Others
=>
16
B
:
Boolean
;
17
end case
;
18
end record
;
19
20
procedure
Proc
is
21
C
:
Change
(
Three
);
22
begin
23
C
.
A
:= (
others
=>
Null_Time
);
24
end
;
25
26
end
Aggr16
;