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

Subversion Repositories openrisc

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

Compare with Previous | Blame | View Log

-- { dg-do compile }
 
package Small_Alignment is
 
  type Int is range -512 .. 511;
  for Int'Alignment use 1;
 
  type R is record
    I: Int;
  end record;
  Pragma Pack (R);
 
end Small_Alignment;
 

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.