gcc/libgomp/testsuite/libgomp.oacc-c-c++-common/abort-1.c

20 lines
235 B
C

/* { dg-do run } */
#include <stdio.h>
#include <stdlib.h>
int
main (void)
{
fprintf (stderr, "CheCKpOInT\n");
#pragma acc parallel
{
abort ();
}
return 0;
}
/* { dg-output "CheCKpOInT" } */
/* { dg-shouldfail "" } */