OSDN Git Service

* gcc.dg/tree-ssa/inline-4.c: Bind pic locally.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / lto / 20091020-2_0.c
1 /* { dg-lto-do link } */
2 /* { dg-lto-options {{-fPIC -r -nostdlib -flto}} } */
3
4 typedef struct {
5     int NumPackStreams;
6 } CSzAr;
7 typedef struct {
8     CSzAr db;
9 } CSzArEx;
10 int SzArEx_Init(CSzArEx *p)
11 {
12   return p->db.NumPackStreams;
13 }
14 int SzArEx_GetFolderFullPackSize(const CSzArEx *p)
15 {
16   return p->db.NumPackStreams;
17 }
18