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