Commit 4f2b873a by Arnaud Charlet Committed by Arnaud Charlet

* gnat.dg/specs/array_no_def_init.ads: New test.

From-SVN: r135939
parent c5ecf679
2008-05-26 Arnaud Charlet <charlet@adacore.com>
* gnat.dg/specs/array_no_def_init.ads: New test.
2008-05-26 Kai Tietz <kai.tietz@onevision.com> 2008-05-26 Kai Tietz <kai.tietz@onevision.com>
* gcc-c.torture/execute/pr36321.c: New. * gcc-c.torture/execute/pr36321.c: New.
......
-- { dg-do compile }
pragma Restrictions (No_Default_Initialization);
package Array_No_Def_Init is
type Int_Array is array (Natural range <>) of Integer;
IA : Int_Array (1 .. 10);
end Array_No_Def_Init;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment