brintos

brintos / llvm-project-archived public Read only

0
0
Text · 531 B · 98c8793 Raw
13 lines · plain
1! RUN: %flang_fc1 -fopenmp -fno-openmp %s -emit-hlfir -o - | FileCheck --check-prefix=CHECK-NO-OMP %s2! RUN: %flang_fc1 -fno-openmp %s -emit-hlfir -o - | FileCheck --check-prefix=CHECK-NO-OMP %s3! RUN: %flang_fc1 -fno-openmp -fopenmp %s -emit-hlfir -o - | FileCheck --check-prefix=CHECK-OMP %s4! RUN: %flang_fc1 -fopenmp %s -emit-hlfir -o - | FileCheck --check-prefix=CHECK-OMP %s5 6subroutine main7  ! CHECK-NO-OMP-NOT: omp.parallel8  ! CHECK-OMP: omp.parallel9  !$omp parallel10  print *,"test"11  !$omp end parallel12end subroutine13