* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / goacc / acc_on_device-1.c
blobdaf6bb33ffa3ef040b782fab34fc9390f1f512cf
1 /* Have to enable optimizations, as otherwise builtins won't be expanded. */
2 /* { dg-additional-options "-O -fdump-rtl-expand -std=c89 -Wno-implicit-function-declaration" } */
4 int
5 f (void)
7 int r = 0;
9 r |= acc_on_device ();
10 r |= acc_on_device (1, 2);
11 r |= acc_on_device (3.14);
12 r |= acc_on_device ("hello");
14 return r;
17 /* Unsuitable to be handled as a builtin, so we're expecting four calls.
18 { dg-final { scan-rtl-dump-times "\\\(call \[^\\n\]* acc_on_device" 4 "expand" } } */