summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/decl_ctx_use.adb
blob: c4fde2b3eb27b723cc2ee09247e72345524a809c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- { dg-do compile }
-- { dg-options "-O1" }
with DECL_CTX_Def; use DECL_CTX_Def;
package body DECL_CTX_Use is
   procedure Check_1 is
   begin
      raise X;
   end;

   procedure Check_2 is
   begin
      raise X;
   end;
end;