1 ! RUN: %flang_fc1 -fdebug-pre-fir-tree -fopenmp %s | FileCheck %s
3 ! Test structure of the Pre-FIR tree with OpenMP declarative construct
7 real, dimension(10) :: x
8 ! CHECK-NEXT: OpenMPDeclarativeConstruct
16 ! CHECK-NEXT: OpenMPDeclarativeConstruct
17 !$omp threadprivate(i)
26 ! CHECK: End Module m2
31 ! CHECK-NEXT: OpenMPDeclarativeConstruct
32 !$omp threadprivate(y)
34 ! CHECK: End Program main
36 ! CHECK: Subroutine sub1
39 ! CHECK-NEXT: OpenMPDeclarativeConstruct
40 !$omp threadprivate(p)
42 ! CHECK: End Subroutine sub1
44 ! CHECK: Subroutine sub2
47 ! CHECK-NEXT: OpenMPDeclarativeConstruct
48 !$omp threadprivate(q)
53 ! CHECK: End Subroutine sub2