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
testsuite: Change 3 tests from c++14 to c++11
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
common_2.f90
blob
2c4bd475c934f2318b38e971f3dafb3ee6f78cb4
1
! { dg-do run }
2
! The equivalence was causing us to miss out c when laying out the common
3
! block.
4
program
common_2
5
common
/
block
/
a
,
b
,
c
,
d
6
integer
a
,
b
,
c
,
d
,
n
7
dimension
n
(
4
)
8
equivalence
(
a
,
n
(
1
))
9
equivalence
(
c
,
n
(
3
))
10
a
=
1
11
b
=
2
12
c
=
3
13
d
=
4
14
if
(
any
(
n
.
ne
. (/
1
,
2
,
3
,
4
/)))
STOP
1
15
end program