[HLSL] Implement RWBuffer::operator[] via __builtin_hlsl_resource_getpointer (#117017)
[llvm-project.git] / flang / test / Semantics / OpenMP / single01.f90
blob2e40bec56e9c26333655f4283b34610a9b2e193b
1 ! RUN: %python %S/../test_errors.py %s %flang_fc1 -fopenmp
2 ! OpenMP Version 4.5
3 ! 2.7.3 single Construct
4 ! Symbol present on multiple clauses
6 program omp_single
7 integer i
8 i = 10
10 !$omp single private(i)
11 print *, "omp single", i
12 !ERROR: COPYPRIVATE variable 'i' may not appear on a PRIVATE or FIRSTPRIVATE clause on a SINGLE construct
13 !$omp end single copyprivate(i)
15 end program omp_single