Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-9.5.0
/
.
/
libgomp
/
testsuite
/
libgomp.oacc-c-c++-common
/
lib-7.c
blob: e78734b30116795357d02c24d591bdd3fd3a2fc8 [
file
] [
log
] [
blame
]
/* { dg-do run } */
#include
<stdlib.h>
#include
<openacc.h>
int
main
(
int
argc
,
char
**
argv
)
{
if
(
acc_get_num_devices
(
acc_device_none
)
!=
0
)
abort
();
if
(
acc_get_num_devices
(
acc_device_host
)
==
0
)
abort
();
return
0
;
}
/* { dg-output "" } */