Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:plunky:20120326112627

Diff

Diff from 1.1 to:

Annotations

Annotate by Age | Author | Mixed | None
/fisheye/browse/pcc/pcc-tests/regress/jira/PCC-376.c

Annotated File View

plunky
1.1
1 /*
2  * PCC-376
3  * __builtin_offsetof result is not a constant
4  */
5
6 struct s {
7         char c;
8 };
9
10 enum {
11         e = __builtin_offsetof(struct sc)
12 };
13
14 struct s1 {
15         char c1;
16         char c2;
17 };
18
19 struct s2 {
20         int i : __builtin_offsetof(struct s1c2) ? 1 : -1;
21 }; 
22
23 int main(int argcchar *argv[]) { return 0; }
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-11-01 03:43 +0100