1 !RUN: %flang_fc1 -emit-fir -fopenmp %s -o - | FileCheck %s
3 !CHECK-LABEL: @_QPomp_taskgroup
4 subroutine omp_taskgroup
7 !CHECK-DAG: %{{.*}} = fir.alloca i32 {bindc_name = "allocated_x", uniq_name = "_QFomp_taskgroupEallocated_x"}
8 !CHECK-DAG: %{{.*}} = arith.constant 1 : i32
10 !CHECK: omp.taskgroup allocate(%{{.*}} : i32 -> %0 : !fir.ref<i32>)
11 !$omp taskgroup allocate(omp_high_bw_mem_alloc: allocated_x)
13 !CHECK: fir.call @_QPwork() {{.*}}: () -> ()
15 !CHECK: omp.terminator
17 !CHECK: omp.terminator