summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gomp/ordered-2.c
blob: 2884b10261c2d1cb7ff609cd66b49365892fd8ed (plain)
1
2
3
4
5
6
7
/* { dg-do compile } */

void f1(void)
{
  #pragma omp ordered asdf	/* { dg-error "expected" } */
  #pragma omp ordered
}				/* { dg-error "expected expression" } */