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