summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/gomp/ordered-2.C
blob: 6c2b4329c64f0ef77490707c31c820fac0ebd068 (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" } */