brintos

brintos / llvm-project-archived public Read only

0
0
Text · 461 B · 24f8b4a Raw
17 lines · plain
1! RUN: %python %S/../test_errors.py %s %flang_fc1 -fopenmp2! OpenMP Version 5.13! Check OpenMP construct validity for the following directives:4! 2.14.7 Declare Target Directive5 6program main7  integer, save :: x, y8 9  !$omp threadprivate(x)10 11  !ERROR: A THREADPRIVATE variable cannot appear in a DECLARE TARGET directive12  !ERROR: A THREADPRIVATE variable cannot appear in a DECLARE TARGET directive13  !$omp declare target (x, y)14 15  !$omp threadprivate(y)16end17