14 lines
187 B
C
Raw Normal View History

2015-08-28 17:33:40 +02:00
/* { 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" } */