(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
compile/
20080721-1.c
       1  /* { dg-skip-if "can't read function data" { nvptx-*-* } } */
       2  void foo(void);
       3  void bar(void);
       4  
       5  int test(int b)
       6  {
       7    void *p, **q;
       8    if (b)
       9      p = (void *)foo;
      10    else
      11      p = (void *)bar;
      12    q = (void **)p;
      13    if (*q == (void *)0)
      14      return 1;
      15    return 0;
      16  }