xref: /llvm-project/flang/test/Lower/OpenMP/simple-barrier.f90 (revision b07005aba06cafe484ea1df9fef003ff61e2c222)
1!RUN: %flang_fc1 -flang-experimental-hlfir -emit-hlfir -fopenmp %s -o - | FileCheck %s
2!RUN: bbc -hlfir -emit-hlfir -fopenmp %s -o - | FileCheck %s
3
4subroutine sample()
5! CHECK: omp.barrier
6!$omp barrier
7end subroutine sample
8