1! RUN: %S/test_symbols.sh %s %t %flang_fc1 -fopenmp 2! REQUIRES: shell 3 4! 2.15.3 Data-Sharing Attribute Clauses 5! A list item that specifies a given variable may not appear in more than 6! one clause on the same directive, except that a variable may be specified 7! in both firstprivate and lastprivate clauses. 8 9 !DEF: /MainProgram1/a (Implicit) ObjectEntity REAL(4) 10 a = 1. 11 !$omp parallel do firstprivate(a) lastprivate(a) 12 !DEF: /MainProgram1/Block1/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4) 13 do i=1,10 14 !DEF: /MainProgram1/Block1/a (OmpFirstPrivate, OmpLastPrivate) HostAssoc REAL(4) 15 a = 2. 16 end do 17end program 18