1 /* Verify that we refuse 'acc_map_data' when the "host address [...] is already
4 /* { dg-skip-if "" { *-*-* } { "*" } { "-DACC_MEM_SHARED=0" } } */
11 #pragma acc declare create (global_var)
16 void *d
= acc_malloc (sizeof global_var
);
18 fprintf (stderr
, "CheCKpOInT\n");
19 acc_map_data (&global_var
, d
, sizeof global_var
);
25 /* { dg-output "CheCKpOInT(\n|\r\n|\r).*" } */
26 /* { dg-output "host address \\\[\[0-9a-fA-FxX\]+, \\\+4\\\] is already mapped" } */
27 /* { dg-shouldfail "" } */