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
c++: constrained lambda error-recovery [PR108972]
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
prot6.adb
blob
f33b0a2429df7c85f2d0f3247a3d8f6990fbfb73
1
-- { dg-do compile }
2
-- { dg-options "-gnatc" }
3
4
package body
Prot6
is
5
6
protected body
My_Type
is
7
8
procedure
Set
(
D
:
Integer
)
is
9
begin
10
I
:=
D
;
11
end
Set
;
12
13
function
Get
return
Integer
is
14
begin
15
return
I
;
16
end
Get
;
17
end
My_Type
;
18
19
procedure
Dummy
is null
;
20
end
Prot6
;