(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
inline-16.c
       1  /* { dg-do link } */
       2  /* { dg-options "-std=c99" } */
       3  
       4  static inline __SIZE_TYPE__
       5  func1(const volatile void * base, __SIZE_TYPE__ byteOffset)
       6  {
       7    volatile __SIZE_TYPE__ *addr
       8      = (volatile __SIZE_TYPE__ *)((__SIZE_TYPE__)base + byteOffset);
       9    return *addr;
      10  }
      11  
      12  static inline __SIZE_TYPE__
      13  func2(__SIZE_TYPE__ data)
      14  {
      15      return func1(&data, 0);
      16  }
      17  
      18  int main(int argc, char *argv[]) {
      19    __SIZE_TYPE__ b = func2(argc);
      20  
      21    return 0;
      22  }