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
Corrected date in changelog
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
protected_null.adb
blob
c58fa2b27f2d972eebaa2c052d07d44556555c22
1
-- { dg-do compile }
2
3
procedure
Proc
is
4
protected
Po
is
5
procedure
P
is null
;
-- { dg-error " protected operation cannot be a null procedure" }
6
end
Po
;
7
protected body
Po
is
8
procedure
P
is
9
begin
10
null
;
11
end
P
;
12
end
Po
;
13
begin
14
null
;
15
end
;