source: CIVL/examples/languageFeatures/pointerAddBad3.c@ 55e649b

1.23 2.0 main test-branch
Last change on this file since 55e649b was 0c19bce, checked in by Ziqing Luo <ziqing@…>, 12 years ago

new example for detecting pointer addition error

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

  • Property mode set to 100644
File size: 71 bytes
Line 
1int main(int argc, char * argv[]) {
2 int a[3];
3 int *p = a + 100;
4}
5
Note: See TracBrowser for help on using the repository browser.