gcc/libgomp/testsuite/libgomp.oacc-c-c++-common/abort-3.c
Thomas Schwinge bdeb752cf8 abort might not flush all open streams before process termination
libgomp/
	* testsuite/libgomp.oacc-c-c++-common/abort-1.c: Print to stderr.
	* testsuite/libgomp.oacc-c-c++-common/abort-3.c: Likewise.

From-SVN: r229382
2015-10-26 17:25:04 +01: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 "" } */