Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gnat.dg
/
regpat1.adb
blob: fdd258942a3c92b1602c3b702bc717d8ad5c9e22 [
file
] [
log
] [
blame
]
--
{
dg
-
do
run
}
with
GNAT
.
Regpat
;
use
GNAT
.
Regpat
;
procedure regpat1
is
begin
declare
Re
:
Pattern_Matcher
:=
Compile
(
"a[]b"
);
begin
raise
Program_Error
;
end
;
exception
when
Expression_Error
=>
null
;
end
regpat1
;