re PR ada/38394 (clashing assembler symbols)

PR ada/38394
	* gnat.dg/array13.ad[sb]: New test.

From-SVN: r159798
This commit is contained in:
Eric Botcazou 2010-05-24 21:43:31 +00:00 committed by Eric Botcazou
parent 427188d5b2
commit feb4c2937a
3 changed files with 32 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-05-24 Eric Botcazou <ebotcazou@adacore.com>
PR ada/38394
* gnat.dg/array13.ad[sb]: New test.
2010-05-24 Daniel Jacobowitz <dan@codesourcery.com>
Sandra Loosemore <sandra@codesourcery.com>

View File

@ -0,0 +1,14 @@
-- PR ada/38394
-- Reporter: Michael Völske <michael.voelske@medien.uni-weimar.de>
-- { dg-do assemble }
package body Array13 is
procedure Foo is
X, Y : T;
begin
null;
end;
end Array13;

View File

@ -0,0 +1,13 @@
package Array13 is
Max : Natural := 1;
type Arr is array (Natural range 0..Max) of Natural;
type T is record
A : Arr := (others => 0);
end record;
procedure Foo;
end Array13;