1 /* { dg-skip-if "" { *-*-* } { "*" } { "-DACC_MEM_SHARED=0" } } */ 2 3 #include <stdio.h> 4 #include <openacc.h> 5 6 int main(int argc,char * argv[])7main (int argc, char *argv[]) 8 { 9 int i; 10 11 acc_present_or_copyin (&i, sizeof i); 12 fprintf (stderr, "CheCKpOInT\n"); 13 acc_copyin (&i, sizeof i); 14 15 return 0; 16 } 17 18 /* { dg-output "CheCKpOInT(\n|\r\n|\r).*" } */ 19 /* { dg-output "already mapped to" } */ 20 /* { dg-shouldfail "" } */ 21