sched1: debug/model: dump predecessor list and BB num [NFC]
[gcc.git] / libgomp / testsuite / libgomp.oacc-c-c++-common / lib-36.c
blob8ff61c764916fcedf4135089ca6e2b44bf993cbe
1 /* { dg-do run } */
3 #include <stdio.h>
4 #include <stdlib.h>
5 #include <openacc.h>
7 int
8 main (int argc, char **argv)
10 const int N = 256;
11 unsigned char *h;
12 void *d;
14 h = (unsigned char *) malloc (N);
16 fprintf (stderr, "CheCKpOInT\n");
17 d = acc_present_or_create (h, 0);
18 if (!d)
19 abort ();
21 acc_delete (h, N);
23 free (h);
25 return 0;
28 /* { dg-output "CheCKpOInT(\n|\r\n|\r).*" } */
29 /* { dg-output "\\\[\[0-9a-fA-FxX\]+,\\\+0\\\] is a bad range" } */
30 /* { dg-shouldfail "" } */