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
2015-05-04 Andrew Sutton <andrew.n.sutton@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
opt29.adb
blob
64f2baef3d08e6e72a95b25a6a4c7297b3eb7937
1
-- { dg-do compile }
2
-- { dg-options "-O" }
3
4
package body
Opt29
is
5
6
procedure
Proc
(
T
:
Rec
)
is
7
begin
8
if
Derived2
(
T
.
F2
.
all
).
Id
=
T
.
F1
.
Id
then
9
raise
Program_Error
;
10
end if
;
11
end
;
12
13
end
Opt29
;