(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr31254.c
       1  /* { dg-do compile } */
       2  
       3  struct timespec
       4  {
       5    long tv_sec;
       6    long tv_nsec;
       7  };
       8  struct inode
       9  {
      10    struct timespec i_atime;
      11    struct timespec i_mtime;
      12  };
      13  struct afs_vnode
      14  {
      15    struct inode vfs_inode;
      16  };
      17  static inline
      18    struct inode *AFS_VNODE_TO_I (struct afs_vnode *vnode)
      19  {
      20    return &vnode->vfs_inode;
      21  };
      22  void
      23  afs_inode_map_status (struct afs_vnode *vnode)
      24  {
      25    struct inode *inode = AFS_VNODE_TO_I (vnode);
      26    inode->i_atime = inode->i_mtime;
      27  }