source: CIVL/examples/languageFeatures/pointerAdd6.c@ a0b7ab5

1.23 2.0 main test-branch
Last change on this file since a0b7ab5 was 7fbac2e, checked in by Ziqing Luo <ziqing@…>, 11 years ago

add a good example to cover more

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@2334 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 125 bytes
Line 
1#include <assert.h>
2
3int main(int argc, char * argv[]) {
4 int a = 8;
5 void *p = &a + 1;
6 void * q = p + 0;
7
8 return 0;
9}
Note: See TracBrowser for help on using the repository browser.