blob: 19bb6181cbceda977cd68e198bc6aa60dc3bd809 (
plain)
1
2
3
4
5
6
7
8
9
10
|
! { dg-do compile }
! { dg-options "-std=f95" }
! PR34227 Initialized symbol in COMMON: Missing checks
program main
implicit none
integer, parameter:: nmin = 2
character(len=3) :: emname(nmin)
data emname/'bar','baz'/
common/dd/emname ! { dg-error "can only be COMMON in BLOCK DATA" }
end program main
|