Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:plunky:20111109103607

Diff

Diff from 1.3 to:

Annotations

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

Annotated File View

faceless
1.2
1 /* C99 use truncation towards 0 */
plunky
1.3
2 int main(int argcchar *argv[])
faceless
1.1
3 {
faceless
1.2
4    int a = -22 / 7 ;
5         int b = -22 % 7 ;
faceless
1.1
6
faceless
1.2
7         if (a != -3 )
8                 return 1
9                 
10         if (b != -1 )
11                 return 2
faceless
1.1
12
13         return 0;
14 }
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-01 23:10 +0200