Debian Codegraph @

libgomp/testsuite/libgomp.oacc-c-c++-common/abort-3.c

raw
1 /* { dg-do run } */
2
3 #include <stdio.h>
4 #include <stdlib.h>
5
6 int
7 main (void)
8 {
9 fprintf (stderr, "CheCKpOInT\n");
10 #pragma acc kernels
11 {
12 abort ();
13 }
14
15 return 0;
16 }
17
18 /* { dg-output "CheCKpOInT" } */
19 /* { dg-shouldfail "" } */