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" } */
       3  
       4  int
       5  f (void)
       6  {
       7    int r = 0;
       8  
       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");
      13  
      14    return r;
      15  }
      16  
      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" } } */
      19