aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/renaming1.adb
blob: c85e50abd40cbb82232cf234f2b4e34348f0cb16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
-- { dg-do compile}
-- { dg-options "-gnatwa" }

with Ada.Text_IO;
use Ada.Text_IO;
package body renaming1 is
   procedure Fo (A : Ada.Text_IO.File_Access) is
   begin
      if A = Ada.Text_IO.Standard_Output then
         null;
      end if;
   end Fo;
end;