1 /* Exercise acc_map_data with a NULL data mapping. */
8 main (int argc
, char **argv
)
14 h
= (unsigned char *) malloc (N
);
18 fprintf (stderr
, "CheCKpOInT\n");
19 acc_map_data (h
, 0, N
);
30 /* { dg-output "CheCKpOInT(\n|\r\n|\r).*" } */
31 /* { dg-output "\\\[\[0-9a-fA-FxX\]+,\\\+256\]->\\\[\[^\n\r]*,\\\+256\\\] is a bad map" { target { ! openacc_host_selected } } } */
32 /* { dg-output "cannot map data on shared-memory system" { target openacc_host_selected } } */
33 /* { dg-shouldfail "" } */