Drop Z from X + Z < Y + Z
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-c-c++-common / acc-on-device.c
blobe0d87107d78fb2c3e82cc84e8d99a08517e89186
1 /* { dg-do compile } */
2 /* We don't expect this to work with optimizations disabled.
3 { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
5 #include <openacc.h>
7 int Foo (acc_device_t x)
9 return acc_on_device (x);
12 /* { dg-final { scan-assembler-not "acc_on_device" } } */