1 /* { dg-skip-if "" { *-*-* } { "*" } { "-DACC_MEM_SHARED=0" } } */
6 #pragma acc declare device_resident(foo)
9 main (int argc
, char *argv
[])
11 acc_init (acc_device_default
);
12 acc_unmap_data ((void *) foo
);
13 /* { dg-output "libgomp: refusing to unmap block \\\[\[0-9a-fA-FxX\]+,\\\+64\\\] that has not been mapped by 'acc_map_data'" } */
17 /* { dg-shouldfail "" } */