Retro68/gcc/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-4.c
2015-08-28 17:33:40 +02:00

14 lines
187 B
C

/* { dg-do run } */
#include <openacc.h>
int
main (int argc, char **argv)
{
acc_init ((acc_device_t) 99);
return 0;
}
/* { dg-shouldfail "libgomp: device 99 is out of range" } */