]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgomp/testsuite/libgomp.oacc-c-c++-common/lib-62.c
Add checkpoint to libgomp dg-shouldfail tests
[thirdparty/gcc.git] / libgomp / testsuite / libgomp.oacc-c-c++-common / lib-62.c
index 2988b5bcd0ab3f5848bb0d2263995e76d7ff0ecd..ace4b058b9b4a9002eb60ea44664f8a81223f6f1 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do run { target openacc_nvidia_accel_selected } } */
 
+#include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
 #include <openacc.h>
@@ -25,6 +26,7 @@ main (int argc, char **argv)
 
   memset (&h[0], 0, N);
 
+  fprintf (stderr, "CheCKpOInT\n");
   acc_memcpy_to_device (d, h, N << 1);
 
   acc_memcpy_from_device (h, d, N);
@@ -42,5 +44,6 @@ main (int argc, char **argv)
   return 0;
 }
 
+/* { dg-output "CheCKpOInT(\n|\r\n|\r).*" } */
 /* { dg-output "invalid size" } */
 /* { dg-shouldfail "" } */