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