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
Fix internal error on function call returning extension of limited interface
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
shift1.adb
blob
85a0fecdae4cb96b94d1191d2a9e19037bdedef8
1
-- { dg-do compile }
2
-- { dg-options "-gnatws" }
3
4
procedure
Shift1
is
5
6
type
T_Integer_8
is range
-
2
**
7
..
2
**
7
-
1
7
with
Size
=>
8
;
8
9
pragma
Provide_Shift_Operators
(
T_Integer_8
);
10
11
X
:
T_Integer_8
;
12
13
begin
14
X
:=
Shift_Right
(
X
,
1
);
15
end
;