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
/
interface7.adb
blob
90417fed05f1a55264a7602f0d47282d8d02f84b
1
-- { dg-do compile }
2
3
procedure
Interface7
is
4
type
I_Type
is
interface
;
5
6
type
A1_Type
is tagged null record
;
7
type
A2_Type
is new
A1_Type
and
I_Type
with null record
;
8
9
procedure
Test
(
X
:
I_Type
'Class
)
is
10
begin
11
if
X
in
A2_Type
then
-- Test
12
null
;
13
end if
;
14
end
Test
;
15
16
begin null
;
end
;