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