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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [aggr16.adb] - Rev 700

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

-- { dg-do compile }
 
with Aggr16_Pkg; use Aggr16_Pkg;
 
package body Aggr16 is
 
  type Arr is array (1 .. 4) of Time;
 
  type Change_Type is (One, Two, Three);
 
  type Change (D : Change_Type) is record
    case D is
      when Three =>
        A : Arr;
      when Others =>
        B : Boolean;
    end case;
  end record;
 
  procedure Proc is
    C : Change (Three);
  begin
    C.A := (others => Null_Time);
  end;
 
end Aggr16;
 

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.