Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:ragge:20120922094934

Diff

Diff from 1.3 to:

Annotations

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

Annotated File View

faceless
1.1
1 /* 
2  * PCC-69 
3  * cpp processes code incorrectly
4  */
ragge
1.3
5 #include <stdint.h>
faceless
1.1
6
7 #define ELF32_NO_ADDR   ((uint32_t) ~0) /* Indicates addr. not yet filled in */
8 #define ELFSIZE 32
9 #define __CONCAT(x,y)   x ## y
10 #define CONCAT(x,y) __CONCAT(x,y)
11 #define ELFDEFNNAME(x)  CONCAT(ELF,CONCAT(ELFSIZE,CONCAT(_,x)))
12
13 int
14 main(int argcchar *argv[])
15 {
16         long l = 0;
17
ragge
1.2
18         if (l == ELFDEFNNAME(NO_ADDR)) {
faceless
1.1
19                 return (1);
20         }
21         return (0);
22 }
23
24
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-09-02 01:33 +0200