Retro68/gcc/libgomp/testsuite/libgomp.oacc-c-c++-common/abort-3.c
2017-04-10 13:32:00 +02:00

20 lines
234 B
C

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