repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merged with mainline at revision 128810.
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
regpat1.adb
blob
fdd258942a3c92b1602c3b702bc717d8ad5c9e22
1
-- { dg-do run }
2
3
with
GNAT
.
Regpat
;
use
GNAT
.
Regpat
;
4
procedure
regpat1
is
5
begin
6
declare
7
Re
:
Pattern_Matcher
:=
Compile
(
"a[]b"
);
8
begin
9
raise
Program_Error
;
10
end
;
11
exception
12
when
Expression_Error
=>
null
;
13
end
regpat1
;