blob: a50f7de3a65b2f67691b4dbdb35d761b7e76b190 [file] [log] [blame]
/* { dg-skip-if "" { *-*-* } { "*" } { "-DACC_MEM_SHARED=0" } } */
int
main (int argc, char *argv[])
{
int i;
#pragma acc data create (i)
#pragma acc parallel copyin (i)
++i;
return 0;
}
/* { dg-shouldfail "" }
{ dg-output "Trying to map into device .* object when .* is already mapped" } */