| 1 |
/* { dg-do compile } */ |
| 2 |
/* We don't expect this to work with optimizations disabled. |
| 3 |
{ dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ |
| 4 |
|
| 5 |
#include <openacc.h> |
| 6 |
|
| 7 |
int Foo (acc_device_t x) |
| 8 |
{ |
| 9 |
return acc_on_device (x); |
| 10 |
} |
| 11 |
|
| 12 |
/* { dg-final { scan-assembler-not "acc_on_device" } } */ |