[flang] Added test case for semantic check of OpenMP Master construct

Original-commit: flang-compiler/f18@22f3088c76
Reviewed-on: https://github.com/flang-compiler/f18/pull/808
Tree-same-pre-rewrite: false
This commit is contained in:
sameeranjoshi17 2019-11-06 14:18:12 +05:30
parent e2166e1ca0
commit 4aac676c54
1 changed files with 9 additions and 0 deletions

View File

@ -377,6 +377,15 @@
a = 3.14
enddo
! 2.13.1 master
!$omp parallel
!ERROR: NUM_THREADS clause is not allowed on the MASTER directive
!$omp master num_threads(4)
a=3.14
!$omp end master
!$omp end parallel
! Standalone Directives (basic)
!$omp taskyield