]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgomp/testsuite/libgomp.oacc-c-c++-common/lib-30.c
Add checkpoint to libgomp dg-shouldfail tests
[thirdparty/gcc.git] / libgomp / testsuite / libgomp.oacc-c-c++-common / lib-30.c
index 9e340582e6341ae0917f8753dd86246b83aca34c..e81627da5c15ea5e249d209d7f19f20b0c68096e 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do run } */
 
+#include <stdio.h>
 #include <stdlib.h>
 #include <openacc.h>
 
@@ -16,6 +17,7 @@ main (int argc, char **argv)
   if (!d)
     abort ();
 
+  fprintf (stderr, "CheCKpOInT\n");
   acc_delete (h, N - 2);
 
   free (h);
@@ -23,5 +25,6 @@ main (int argc, char **argv)
   return 0;
 }
 
+/* { dg-output "CheCKpOInT(\n|\r\n|\r).*" } */
 /* { dg-output "\\\[\[0-9a-fA-FxX\]+,256\\\] surrounds2 \\\[\[0-9a-fA-FxX\]+,\\\+254\\\]" } */
 /* { dg-shouldfail "" } */