I happened to notice that the Ada compiler emitted a warning when
compiling a couple of DAP tests. This wasn't intentional, and this
patch renames the functions to match the filename.
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
-procedure Foo is
+procedure Prog is
X : Integer := 12;
procedure Outer (Outer_Arg : Integer) is
for I in 1 .. 20 loop
Outer (1);
end loop;
-end Foo;
+end Prog;
with Pack; use Pack;
-procedure Foo is
+procedure Prog is
type Enum_Type is (one, two, three);
Value : Enum_Type := three;
begin
Do_Nothing (Value'address);
Do_Nothing (My_String'address); -- STOP
-end Foo;
+end Prog;