URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [specs/] [formal_type.ads] - Rev 308
Go to most recent revision | Compare with Previous | Blame | View Log
-- { dg-do compile } with Ada.Strings.Bounded; package formal_type is generic with package BI is new Ada.Strings.Bounded.Generic_Bounded_Length (<>); type NB is new BI.Bounded_String; package G is end; package BI is new Ada.Strings.Bounded.Generic_Bounded_Length (30); type NB is new BI.Bounded_String; Thing : NB; Size : Integer := THing.Max_Length; package GI is new G (BI, NB); end;
Go to most recent revision | Compare with Previous | Blame | View Log