* gnat.dg/test_ai254.adb: New test.

From-SVN: r138609
This commit is contained in:
Arnaud Charlet 2008-08-04 12:13:10 +00:00 committed by Arnaud Charlet
parent d27653b8a3
commit 10fb8ecd51
2 changed files with 13 additions and 0 deletions

View File

@ -1,6 +1,7 @@
2008-08-04 Arnaud Charlet <charlet@adacore.com>
* gnat.dg/bip_aggregate_bug.adb: New test.
* gnat.dg/test_ai254.adb: New test.
2008-08-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>

View File

@ -0,0 +1,12 @@
-- { dg-do compile }
procedure test_ai254 is
function Func
(Obj : not null access protected function (X : Float) return Float)
return not null access protected function (X : Float) return Float is
begin
return null;
end;
begin
null;
end;