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
runtime: allow preemption in fast syscall return
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
validity_check2.adb
blob
f349cf1603630234c67434c5b921346e3abc443b
1
-- { dg-do compile }
2
-- { dg-options "-gnatVi -gnatws" }
3
4
with
Validity_Check2_Pkg
;
use
Validity_Check2_Pkg
;
5
6
procedure
Validity_Check2
(
R
:
access
Rec
)
is
7
begin
8
if
Op_Code_To_Msg
(
R
.
Code
)
in
Valid_Msg
then
9
raise
Program_Error
;
10
end if
;
11
end
;