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
* gcc-interface/trans.c (node_has_volatile_full_access) <N_Identifier>:
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
lto10.adb
blob
647ed0063e7b417fbd7e19f44c020a15d8e8124e
1
-- { dg-do run }
2
-- { dg-options "-flto" { target lto } }
3
4
with
Lto10_Pkg
;
use
Lto10_Pkg
;
5
6
procedure
Lto10
is
7
A
:
Integer
:=
Minus_One
;
8
Pos
:
Position
;
9
begin
10
Pos
:=
Pix
.
Pos
;
11
if
A
/=
Minus_One
then
12
raise
Program_Error
;
13
end if
;
14
end
;