File: a.adb

package info (click to toggle)
libgnatcoll 1.7gpl2015-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 17,280 kB
  • ctags: 1,124
  • sloc: ada: 134,072; python: 4,017; cpp: 1,397; ansic: 1,234; makefile: 368; sh: 152; xml: 31; sql: 6
file content (14 lines) | stat: -rw-r--r-- 251 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--
--  Copyright (C) 2008, AdaCore
with Ada.Text_IO; use Ada.Text_IO;
procedure A is
   function Foo return Boolean;

   function Foo return Boolean is
   begin
      return True;
   end Foo;
begin
   Put_Line (Foo'Img);
   Put_Line (Foo'Img);
end A;