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
/
oconst2.adb
blob
d4f45ad5d040546f6160ff11a67dae572829f3b9
1
-- { dg-do compile }
2
-- { dg-final { scan-assembler-not "elabs" } }
3
4
package body
OCONST2
is
5
6
procedure
check
(
arg
:
R
)
is
7
begin
8
if
arg
.
u
/=
1
9
or else
arg
.
b
.
i1
/=
2
10
then
11
raise
Program_Error
;
12
end if
;
13
end
;
14
15
end
;