blob: eba4b757debb6cf12cf6ad3ec39ee2b01aa7ef64 [file] [log] [blame]
/* PR c/118639 */
/* { dg-do compile } */
void
foo (void)
{
int a = 0, b = 0, c = 0;
#ifndef __cplusplus
#pragma omp allocate (a, ) /* { dg-error "expected" "" { target c } } */
#endif
#pragma omp flush (b, ) /* { dg-error "expected" } */
#pragma omp parallel firstprivate (c, ) /* { dg-error "expected" } */
;
}