blob: 03e667ce9d7f39914f00f8f86efe344817a6aacb [file] [log] [blame]
! { 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)=(/'bar','baz'/)
common/nmstr/emname ! { dg-error "can only be COMMON in BLOCK DATA" }
end program main