1 ! RUN: %flang_fc1 -fdebug-pre-fir-tree -fopenmp %s | FileCheck %s
3 ! Test Pre-FIR Tree captures OpenMP related constructs
5 ! CHECK: Program test_omp
10 ! CHECK: <<OpenMPConstruct>>
14 ! CHECK: <<OpenMPConstruct>>
16 ! CHECK: <<DoConstruct>>
23 ! CHECK: <<End DoConstruct>>
24 ! CHECK: OmpEndLoopDirective
26 ! CHECK: <<End OpenMPConstruct>>
29 print *, "not in omp do"
31 ! CHECK: <<OpenMPConstruct>>
33 ! CHECK: <<DoConstruct>>
40 ! CHECK: <<End DoConstruct>>
41 ! CHECK: <<End OpenMPConstruct>>
42 ! CHECK-NOT: OmpEndLoopDirective
44 print *, "no in omp do"
46 ! CHECK: <<End OpenMPConstruct>>
49 print *, "sequential again"
51 ! CHECK: <<OpenMPConstruct>>
56 ! CHECK: <<End OpenMPConstruct>>
59 print *, "sequential again"