blob: c1a7a5b4e9bfc1c77d4913b72b78d0dbd6922ec5 [file] [log] [blame]
! { dg-do compile }
! Tests fix for PR21565 - object cannot be in namelist and block data.
block data
common /foo/ a
namelist /foo_n/ a ! { dg-error "not allowed in BLOCK DATA" }
data a /1.0/
end