Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
libgomp
/
testsuite
/
libgomp.c
/
target-47.c
blob: aa19fcb8276f2180b6b966f82dfe734ed530b5f9 [
file
] [
log
] [
blame
]
/* { dg-shouldfail "omp_invalid_device" } */
#include
<omp.h>
void
foo
(
void
)
{
}
int
main
()
{
omp_set_default_device
(
omp_invalid_device
);
#pragma
omp target
foo
();
return
0
;
}
/* { dg-output "omp_invalid_device" } */