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
PR debug/66535
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
controlled_record.adb
blob
89a9380b9d2a3fd39577baa8497070f6389150e6
1
-- { dg-do compile }
2
-- { dg-options "-O2" }
3
4
with
Ada
.
Text_IO
;
use
Ada
.
Text_IO
;
5
with
Assert
;
6
7
package body
Controlled_Record
is
8
9
procedure
Assert_Invariants
(
PA
:
Point_T
)
is
10
PB
:
Point_T
;
11
begin
12
Assert
.
Assert
(
PB
.
Pos
=
PA
.
Pos
);
13
end
;
14
15
end
Controlled_Record
;