"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "projects/CodeThorn/src/tests/DOM031_references.C" between
rose-0.11.35.0.tar.gz and rose-0.11.36.0.tar.gz

About: ROSE is a compiler infrastructure to build source-to-source program transformation and analysis tools for large-scale C (C89 and C98), C++ (C++98 and C++11), UPC, Fortran (77/95/2003), OpenMP, Java, Python and PHP applications.

DOM031_references.C  (rose-0.11.35.0):DOM031_references.C  (rose-0.11.36.0)
skipping to change at line 16 skipping to change at line 16
int* pa=&a; int* pa=&a;
int& ra=a; int& ra=a;
int& rb=b; int& rb=b;
printf("a:%d, b:%d, ra:%d, rb:%d\n",a,b,ra,rb); printf("a:%d, b:%d, ra:%d, rb:%d\n",a,b,ra,rb);
ra=ra+2; ra=ra+2;
printf("a:%d, b:%d, ra:%d, rb:%d\n",a,b,ra,rb); printf("a:%d, b:%d, ra:%d, rb:%d\n",a,b,ra,rb);
ra=rb; ra=rb;
printf("a:%d, b:%d, ra:%d, rb:%d\n",a,b,ra,rb); printf("a:%d, b:%d, ra:%d, rb:%d\n",a,b,ra,rb);
ra=ra+4; ra=ra+4;
printf("a:%d, b:%d, ra:%d, rb:%d\n",a,b,ra,rb); printf("a:%d, b:%d, ra:%d, rb:%d\n",a,b,ra,rb);
++a;
printf("a:%d, b:%d, ra:%d, rb:%d\n",a,b,ra,rb);
ra++;
printf("a:%d, b:%d, ra:%d, rb:%d\n",a,b,ra,rb);
--rb;
printf("a:%d, b:%d, ra:%d, rb:%d\n",a,b,ra,rb);
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)