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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gnat.dg/] [specs/] [linker_section.ads] - Rev 779

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

package Linker_Section is
   Data1 : constant String := "12345678901234567";
   pragma Linker_Section (Entity  => Data1,
                          Section => ".eeprom");
   type EEPROM_String is new String;
   pragma Linker_Section (Entity  => EEPROM_String, -- { dg-error "objects" }
                          Section => ".eeprom");
   Data2 : constant EEPROM_String := "12345678901234567";
   package Inner is end;
   pragma Linker_Section (Entity  => Inner,        -- { dg-error "objects" }
                          Section => ".eeprom");
end Linker_Section;
 
 

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.