Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/lto/20091020-2_0.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 84e7813d76e9 |
rev | line source |
---|---|
111 | 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; | |
11 int SzArEx_Init(CSzArEx *p) | |
12 { | |
13 return p->db.NumPackStreams; | |
14 } | |
15 int SzArEx_GetFolderFullPackSize(const CSzArEx *p) | |
16 { | |
17 return p->db.NumPackStreams; | |
18 } | |
19 |