brintos

brintos / llvm-project-archived public Read only

0
0
Text · 629 B · 849e926 Raw
15 lines · plain
1! RUN: %flang_fc1 -fdebug-unparse -fopenmp %s | FileCheck --ignore-case %s2! RUN: %flang_fc1 -fdebug-dump-parse-tree -fopenmp %s | FileCheck --check-prefix="PARSE-TREE" %s3 4! CHECK: !$OMP PARALLEL  PROC_BIND(PRIMARY)5 6! PARSE-TREE: ExecutionPartConstruct -> ExecutableConstruct -> OpenMPConstruct -> OmpBlockConstruct7! PARSE-TREE:  OmpBeginDirective8! PARSE-TREE:   OmpDirectiveName -> llvm::omp::Directive = parallel9! PARSE-TREE:   OmpClauseList -> OmpClause -> ProcBind -> OmpProcBindClause -> AffinityPolicy = Primary10subroutine sb111  !$omp parallel proc_bind(primary)12  print *, "Hello"13  !$omp end parallel14end subroutine15