1 // RUN: fir-opt --split-input-file --lower-workshare --allow-unregistered-dialect %s | FileCheck %s
3 // Check that we correctly handle nowait
5 // CHECK-LABEL: func.func @nonowait
6 func.func @nonowait(%arg0: !fir.ref<!fir.array<42xi32>>) {
16 // CHECK-LABEL: func.func @nowait
17 func.func @nowait(%arg0: !fir.ref<!fir.array<42xi32>>) {
18 // CHECK-NOT: omp.barrier
19 omp.workshare nowait {