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
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
opt80.adb
blob
39c6cef0cd728d2536a10c414e7d7913c3e00aa4
1
-- { dg-do run }
2
-- { dg-options "-O2" }
3
4
with
Ada
.
Text_IO
;
use
Ada
.
Text_IO
;
5
6
procedure
Opt80
is
7
Item
:
Integer
;
8
begin
9
Item
:=
Integer
'Value
(
"zzz"
);
10
Put_Line
(
Boolean
'Image
(
Item
'Valid
));
11
raise
Program_Error
;
12
exception
13
when
Constraint_Error
=>
14
null
;
15
end
;