Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  * .gitignore: additional entries.
  * test-common/dispatching.adb: remove warning "use of an anonymous
      access type allocator".
  • Loading branch information
simonjwright committed Sep 19, 2020
1 parent 71cee11 commit 122f3d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@ obj
test
doc
cortex-gnat-rts*

stm32f429xx_h.ads
.DS_Store

auto.cgpr
gnatinspect.db
gpr_query.*

local/

demos-arduino-due/debounce
demos-arduino-due/debounce_hardware
demos-arduino-due/debounce_software
demos-arduino-due/first

test-arduino-due/
Expand Down
5 changes: 3 additions & 2 deletions test-common/dispatching.adb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Copyright (C) 2016, 2017 Free Software Foundation, Inc.
-- Copyright (C) 2016, 2017, 2020 Free Software Foundation, Inc.

-- This file is part of the Cortex GNAT RTS package.
--
Expand Down Expand Up @@ -29,7 +29,8 @@ package body Dispatching is
end T;

task body T is
D : constant access Base'Class := new Derived;
type Base_P is access Base'Class;
D : constant Base_P := new Derived;
begin
loop
declare
Expand Down

0 comments on commit 122f3d3

Please sign in to comment.