blob: 32fa0bc7a92285bdf6527a16356b6ed2a133d847 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-fopenmp" } */
int step (int);
int val;
#pragma omp declare simd linear (val (x) : step (1)) /* { dg-error "is neither constant nor a parameter" } */
int bar (int x, int y, int z);
#pragma omp declare simd linear (val (x) : val) /* { dg-error "is neither constant nor a parameter" } */
int baz (int x, int y, int z);