1 ! RUN: %python %S/../test_symbols.py %s %flang_fc1 -fopenmp
3 ! 2.15.2 threadprivate Directive
4 ! The threadprivate directive specifies that variables are replicated,
5 ! with each thread having its own copy. When threadprivate variables are
6 ! referenced in the OpenMP region, we know they are already private to
7 ! their threads, so no new symbol needs to be created.
11 !$omp threadprivate (i)
13 !DEF: /mm/foo PUBLIC (Subroutine) Subprogram
15 !DEF: /mm/foo/a ObjectEntity INTEGER(4)
20 !DEF: /mm/i PUBLIC (Implicit, OmpThreadprivate) ObjectEntity INTEGER(4)
27 !DEF: /mm/foo/BlockConstruct1/i ObjectEntity REAL(4)
29 !REF: /mm/foo/BlockConstruct1/i
38 !DEF: /tt/foo (Subroutine) Use