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