1 ! RUN: not %flang_fc1 -fsyntax-only %s 2>&1 | FileCheck %s
2 ! CHECK: error: misplaced declaration in the execution part
3 ! CHECK: real, pointer :: p2(:,:)
4 ! CHECK: in the context: execution part construct
5 real, allocatable
, target
:: a2(:,:)
7 real, pointer :: p2(:,:)