1 ! RUN: %flang_fc1 -fopenmp -fdebug-dump-symbols -o - %s 2>&1 | FileCheck %s
4 ! CHECK: MainProgram scope: omp_reduction
6 ! CHECK: i size=4 offset=0: ObjectEntity type: INTEGER(4)
8 ! CHECK: k size=4 offset=4: ObjectEntity type: INTEGER(4) init:10_4
10 ! CHECK: m size=4 offset=8: ObjectEntity type: INTEGER(4) init:12_4
13 ! CHECK: OtherConstruct scope
14 ! CHECK: i (OmpPrivate, OmpPreDetermined): HostAssoc
15 ! CHECK: k (OmpReduction, OmpInclusiveScan, OmpInScanReduction): HostAssoc
16 !$omp parallel do reduction(inscan, +:k)
18 !$omp scan inclusive(k)
21 ! CHECK: m (OmpReduction, OmpExclusiveScan, OmpInScanReduction): HostAssoc
22 !$omp parallel do reduction(inscan, +:m)
24 !$omp scan exclusive(m)
27 end program omp_reduction