OpenCores
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/] [spipaterr.adb] - Blame information for rev 304

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 304 jeremybenn
-- { dg-do run }
2
 
3
with Text_IO; use Text_IO;
4
with GNAT.SPITBOL.Patterns; use GNAT.SPITBOL.Patterns;
5
procedure Spipaterr is
6
    X : String := "ABCDE";
7
    Y : Pattern := Len (1) & X (2 .. 2);
8
begin
9
    if Match ("XB", Y) then
10
       null;
11
    else
12
       raise Program_Error;
13
    end if;
14
end;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.