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

Subversion Repositories openrisc

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

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

package body Atomic5 is
 
  function Create return R is
  begin
    return (A => 0, B => 1, C => 2, D => 4);
  end;
 
  procedure Proc1 is
    I : Unsigned_32;
  begin
    I := Conv(Create);
  end;
 
  procedure Proc2 is
    I : Unsigned_32;
  begin
    I := Conv(R'(A => 0, B => 1, C => 2, D => 4));
  end;
 
end Atomic5;
 

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.