OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [specs/] [null_aggr_bug.ads] - Rev 720

Go to most recent revision | Compare with Previous | Blame | View Log

--  { dg-do compile }
package Null_Aggr_Bug is
 
   type Rec1 is null record;
 
   type Rec2 is tagged null record;
 
   type Rec3 is new Rec2 with null record;
 
   X1 : Rec1 := (null record);
   Y1 : Rec1 := (others => <>);
 
   X2 : Rec2 := (null record);
   Y2 : Rec2 := (others => <>);
 
   X3 : Rec3 := (null record);
   Y3 : Rec3 := (others => <>);
   Z3 : Rec3 := (Rec2 with others => <>);
 
end Null_Aggr_Bug;
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.