* c-c++-common/Wrestrict.c (test_strcpy_range): Revert latest change.
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-c-c++-common / data-already-8.c
blobf41431c1418441f7f8f7c01cf874f00a99bc9ed7
1 /* { dg-skip-if "" { *-*-* } { "*" } { "-DACC_MEM_SHARED=0" } } */
3 #include <stdio.h>
5 int
6 main (int argc, char *argv[])
8 int i;
10 #pragma acc data create (i)
12 fprintf (stderr, "CheCKpOInT\n");
13 #pragma acc parallel copyin (i)
14 ++i;
17 return 0;
20 /* { dg-output "CheCKpOInT(\n|\r\n|\r).*" } */
21 /* { dg-output "Trying to map into device \\\[\[0-9a-fA-FxX\]+..\[0-9a-fA-FxX\]+\\\) object when \\\[\[0-9a-fA-FxX\]+..\[0-9a-fA-FxX\]+\\\) is already mapped" } */
22 /* { dg-shouldfail "" } */