blob: f501cc1816f4a0da2baf290c233562e0a98c5ae6 [file] [log] [blame]
int i;
void
foo (int j)
{
#pragma omp critical (foo) hint (j + 1) /* { dg-error "constant integer expression" } */
i = i + 1;
#pragma omp critical (foo),hint(j) /* { dg-error "constant integer expression" } */
i = i + 1;
}