(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
nvptx/
proto-1.c
       1  /* { dg-do compile } */
       2  
       3  int f(void)
       4  {
       5    const int dev = 4;
       6  
       7    /* Check that without an explicit prototype, we deduce from call site the
       8       signature for the (mandatory in PTX) prototype.  */
       9    /* extern int foo (int *); */
      10    /* { dg-final { scan-assembler-not "\\\.callprototype" } } */
      11    /* { dg-final { scan-assembler "\\\.extern \\\.func \\\(\[^,\n\r\]+\\\) foo \\\(\[^,\n\r\]+\\\);" } } */
      12    return !foo(&dev);
      13  }