Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:plunky:20111108105410

Diff

Diff from 1.2 to:

Annotations

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

Annotated File View

plunky
1.2
1 /*
2  * C99 section 6.5 note 2
3  *
4  * multiple modifications between sequence points is undefined behaviour,
5  * meaning both these statements should fail
6  */
7
8 int main(int argcchar *argv[])
faceless
1.1
9 {
plunky
1.2
10         int i=1a[10];
faceless
1.1
11
plunky
1.2
12         i = ++i + 1;
faceless
1.1
13         a[i++] = i;
14
15         return 0;
16 }
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-24 04:28 +0200