6 integer, target
, save :: tgt
= 77
7 integer, pointer ::ptr_stmt
! { dg-error "Statement function .ptr_stmt. at .1. may not have pointer or allocatable attribute" }
8 integer, allocatable
:: alloc_stmt
! { dg-error "Statement function .alloc_stmt. at .1. may not have pointer or allocatable attribute" }