* gnat.dg/test_ai254.adb: New test.
From-SVN: r138609
This commit is contained in:
parent
d27653b8a3
commit
10fb8ecd51
@ -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>
|
||||
|
||||
|
12
gcc/testsuite/gnat.dg/test_ai254.adb
Normal file
12
gcc/testsuite/gnat.dg/test_ai254.adb
Normal 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;
|
Loading…
Reference in New Issue
Block a user