1 ! RUN: not %flang -fsyntax-only -fopenmp %s 2>&1 | FileCheck %s
4 ! Invalid entry to OpenMP structured block.
6 recursive subroutine traverse ( P
)
8 type(Node
), pointer :: left
, right
13 !CHECK: invalid branch into an OpenMP structured block
16 if (associated(P
%left
)) then
19 !CHECK: In the enclosing TASK directive branched into
24 if (associated(P
%right
)) then
26 call traverse(P
%right
)
31 end subroutine traverse