Projet_SETI_RISC-V/riscv-gnu-toolchain/gcc/gcc/testsuite/gnat.dg/unreferenced.adb

12 lines
230 B
Ada
Raw Normal View History

2023-03-06 14:48:14 +01:00
-- { dg-do compile }
-- { dg-options "-gnatd.F" }
procedure Unreferenced is
X : aliased Integer;
Y : access Integer := X'Access;
Z : Integer renames Y.all;
pragma Unreferenced (Z);
begin
null;
end Unreferenced;