sched1: debug/model: dump predecessor list and BB num [NFC]
[gcc.git] / libgomp / testsuite / libgomp.oacc-c-c++-common / unmap-infinity-1.c
blob9ed9fa7e4139116fe0befecfff0da1347108dd61
1 /* { dg-skip-if "" { *-*-* } { "*" } { "-DACC_MEM_SHARED=0" } } */
3 #include <openacc.h>
5 int foo[16];
6 #pragma acc declare device_resident(foo)
8 int
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'" } */
14 return 0;
17 /* { dg-shouldfail "" } */