Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:ragge:20120922092340

Diff

Diff from 1.3 to:

Annotations

Annotate by Age | Author | Mixed | None
/fisheye/browse/pcc/pcc-tests/regress/c99/prep008.c

Annotated File View

faceless
1.1
1 #define GLUE(a,b) a ## b
2
3 float abc[] = { GLUE(1,1), 
4         GLUE(1,2),
5         GLUE(0x,7),
6         GLUE(1,),
7         GLUE(00,4),
8         GLUE(,) } ;
9
plunky
1.2
10 int main(int argcchar *argv[])
faceless
1.1
11 {
12         if ( abc[0] != 11
13                 return 1
14         if ( abc[1] != 12
15                 return 1
16         if ( abc[2] != 7
17                 return 1
18         if ( abc[3] != 1
19                 return 1
20         if ( abc[4] != 004
21                 return 1
ragge
1.3
22         if ( sizeof(abc)/sizeof(float) != 5
faceless
1.1
23                 return 1
24
25         return 0
26 }
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-08-21 02:24 +0200