1/* { dg-lto-do link } */ 2/* { dg-lto-options {{-fPIC -r -nostdlib -flto}} } */ 3 4typedef struct { 5 int NumPackStreams; 6} CSzAr; 7typedef struct { 8 CSzAr db; 9} CSzArEx; 10int SzArEx_Init(CSzArEx *p) 11{ 12 return p->db.NumPackStreams; 13} 14int SzArEx_GetFolderFullPackSize(const CSzArEx *p) 15{ 16 return p->db.NumPackStreams; 17} 18 19