]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgomp/testsuite/libgomp.oacc-c-c++-common/lib-34.c
Add checkpoint to libgomp dg-shouldfail tests
[thirdparty/gcc.git] / libgomp / testsuite / libgomp.oacc-c-c++-common / lib-34.c
index 536e2aef6536936e4e6eb4dab3766cde83bd0bf1..031c7318e68626bd942dfe764a8a3c87527b9da7 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 (!d1)
     abort ();
 
+  fprintf (stderr, "CheCKpOInT\n");
   d2 = acc_present_or_create (h + 2, N);
   if (!d2)
     abort ();
@@ -30,5 +32,6 @@ main (int argc, char **argv)
   return 0;
 }
 
+/* { dg-output "CheCKpOInT(\n|\r\n|\r).*" } */
 /* { dg-output "\\\[\[0-9a-fA-FxX\]+,\\\+256\\\] not mapped" } */
 /* { dg-shouldfail "" } */