1 ! RUN: %python %S/../test_errors.py %s %flang_fc1 -fopenmp
3 ! Check OpenMP construct validity for the following directives:
4 ! 2.14.7 Declare Target Directive
11 !ERROR: A THREADPRIVATE variable cannot appear in a DECLARE TARGET directive
12 !ERROR: A THREADPRIVATE variable cannot appear in a DECLARE TARGET directive
13 !$omp declare target (x, y)
15 !$omp threadprivate(y)