14 lines · plain
1!RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=522 3subroutine f00(x)4 integer :: x5 !WARNING: The 'modifier(<list>)' syntax is deprecated in OpenMP v5.2, use '<list> : modifier' instead6 !$omp declare simd linear(uval(x))7end8 9subroutine f01(x)10 integer :: x11 !ERROR: An exclusive 'step-simple-modifier' modifier cannot be specified together with a modifier of a different type12 !$omp declare simd linear(uval(x) : 2)13end14