blob: 41b7575e206aff363c604ac7b21b82a4b349c9c9 [file] [log] [blame]
! UNSUPPORTED: system-windows
! RUN: %flang --help | FileCheck %s --check-prefix=FLANG
! FLANG: -fdo-concurrent-to-openmp=<value>
! FLANG-NEXT: Try to map `do concurrent` loops to OpenMP [none|host|device]
! RUN: bbc --help | FileCheck %s --check-prefix=BBC
! BBC: -fdo-concurrent-to-openmp=<string>
! BBC-SAME: Try to map `do concurrent` loops to OpenMP [none|host|device]
! RUN: %flang -fdo-concurrent-to-openmp=host %s 2>&1 \
! RUN: | FileCheck %s --check-prefix=OPT
! OPT: warning: OpenMP is required for lowering `do concurrent` loops to OpenMP.
! OPT-SAME: Enable OpenMP using `-fopenmp`.
program test_cli
end program