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