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
Increase timeout factor for hppa*-*-* in gcc.dg/long_branch.c
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
value_test.f90
blob
6de29d1062bf502ace34a735aa48ab4701698575
1
! { dg-do run }
2
program
valueTests
3
integer
::
myInt
4
interface
5
subroutine
mySub
(
myInt
)
6
integer
,
value
::
myInt
7
end subroutine
mySub
8
end interface
9
10
myInt
=
10
11
12
call
mySub
(
myInt
)
13
! myInt should be unchanged since pass-by-value
14
if
(
myInt
.
ne
.
10
)
then
15
STOP
1
16
endif
17
end program
valueTests
18
19
subroutine
mySub
(
myInt
)
20
integer
,
value
::
myInt
21
myInt
=
11
22
end subroutine
mySub
23