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
2009-10-05 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
blockdata_5.f90
blob
03e667ce9d7f39914f00f8f86efe344817a6aacb
1
! { dg-do compile }
2
! { dg-options "-std=f95" }
3
! PR34227 Initialized symbol in COMMON: Missing checks
4
program
main
5
implicit none
6
integer
,
parameter
::
nmin
=
2
7
character
(
len
=
3
) ::
emname
(
nmin
)=(/
'bar'
,
'baz'
/)
8
common
/
nmstr
/
emname
! { dg-error "can only be COMMON in BLOCK DATA" }
9
end program
main
10