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
2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
host_assoc_blockdata_2.f90
blob
3cb4abaedd23b4eafb99cfc446db5be453c6ecf2
1
! { dg-do compile }
2
MODULE
globals
3
TYPE
::
type1
4
sequence
5
integer
::
x
6
END TYPE
type1
7
TYPE
(
type1
) ::
pdm_bps
8
common
/
co
/
pdm_bps
9
END module
globals
10
BLOCK
DATA
11
use
globals
12
END
BLOCK
DATA
13
14
program
main
15
use
globals
16
common
/
co
/
pdm_bps
! { dg-error "already in a COMMON block" }
17
end program
main