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
PR ada/84277
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
disp2.adb
blob
2e1e6226080802a8d6ec3a1618c1374c5f500c51
1
-- { dg-do run }
2
3
with
Disp2_Pkg
;
use
Disp2_Pkg
;
4
5
procedure
Disp2
is
6
Obj
:
Object_Ptr
:=
new
Object
;
7
begin
8
if
Obj
.
Get_Ptr
/=
Obj
.
Impl_Of
then
9
raise
Program_Error
;
10
end if
;
11
end
;