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
/
overriding_ops.adb
blob
5ffa8a9ae1b254b0636e94e7e7016202b5982457
1
-- { dg-do compile }
2
3
package body
overriding_ops
is
4
task body
Light_Programmer
is
5
begin
6
accept
Set_Name
(
Name
:
Name_Type
);
7
end
Light_Programmer
;
8
9
protected body
Light
is
10
procedure
Set_Name
(
Name
:
Name_Type
)
is
11
begin
12
L_Name
:=
Name
;
13
end
Set_Name
;
14
end
Light
;
15
end
overriding_ops
;