Retro68/gcc/libgomp/testsuite/libgomp.oacc-c-c++-common/abort-5.c

19 lines
213 B
C
Raw Normal View History

2015-08-28 15:33:40 +00:00
/* { dg-do run } */
/* { dg-additional-options "-flto" { target lto } } */
#include <stdlib.h>
int
main (int argc, char **argv)
{
#pragma acc parallel
{
if (argc != 1)
abort ();
}
return 0;
}