blob: c51e2f9c75b8f6f12f636a32ac256800075f88eb [file] [log] [blame]
/* Ensure that bogus clauses aren't propagated in combined loop
constructs. */
int
main ()
{
int a, i;
#pragma acc parallel loop vector copy(a[0:100]) reduction(+:a) /* { dg-error "'a' does not have pointer or array type" } */
for (i = 0; i < 100; i++)
a++;
return a;
}