aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/inline12.adb
blob: e73f3c1aeb603a2fcde616283b6f6091dc6a25f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
-- PR ada/69219
-- Testcae by yuta tomino <demoonlit@panathenaia.halfmoon.jp> */

-- { dg-do compile }

procedure Inline12 is

   procedure NI;

   procedure IA;
   pragma Convention (Intrinsic, IA);
   pragma Inline_Always (IA);

   procedure IA is
   begin
      NI;
   end;

   procedure NI is null;

begin
  IA;
end;