Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:ragge:20120922102151

Diff

Diff from 1.3 to:

Annotations

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

Annotated File View

faceless
1.1
1 /*
2  * from OBSD
3  *
4  * Returns 1 if sizeof(unsigned long) < sizeof(unsigned long long), but
5  * should return 0.
6  */
7 int
plunky
1.2
8 main(int argcchar *argv[])
faceless
1.1
9 {
ragge
1.3
10 #ifdef __i386__
faceless
1.1
11         unsigned long long i = (unsigned long)~0 + (unsigned long long)2;
12
13         switch (i) {
14         case 1:
15                 return 1;
16         }
ragge
1.3
17 #endif
faceless
1.1
18         return 0;
19 }
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 02:07 +0100