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
Plugins: Add label-text.h to CPPLIB_H so it will be installed [PR115288]
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
boz_dshift_2.f90
blob
c2fbd1b2eb94593e021ac13d8e83e029cc2fe38d
1
! { dg-do run }
2
program
foo
3
integer
k
,
n
4
k
=
dshiftl
(
z
'1234'
,
42
,
1
)
5
n
=
dshiftr
(
z
'1234'
,
42
,
1
)
6
if
(
k
/=
9320
)
stop
1
7
if
(
n
/=
21
)
stop
2
8
k
=
dshiftl
(
42
,
b
'01010101'
,
1
)
9
n
=
dshiftr
(
22
,
o
'12345'
,
1
)
10
if
(
k
/=
84
)
stop
1
11
if
(
n
/=
2674
)
stop
2
12
end program
foo