Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gnat.dg
/
warn24.adb
blob: c2a9e3aeb7361d147cb61825097e7898ac6c1cbb [
file
] [
log
] [
blame
]
--
{
dg
-
do
compile
}
procedure
Warn24
is
type
List_D
(
D
:
Boolean
);
type
List_Acc
is
access
List_D
;
type
List_D
(
D
:
Boolean
)
is
record
Next
:
List_Acc
(
D
);
end
record
;
X
:
List_D
(
True
);
begin
X
.
Next
:=
new
List_D
(
False
);
end
Warn24
;