blob: f55d9cf9960017d1b3de9bd44e24d02cb0b9b019 [file] [log] [blame]
/* PR c++/96867 */
int *v;
void
foo (int x)
{
#pragma omp target update to (x, v[:]) /* { dg-error "for pointer type length expression must be specified" } */
}