source: CIVL/examples/experimental/validPtrAddCrashInPar.c@ afc300c

1.23 2.0 main test-branch
Last change on this file since afc300c was 869b90f, checked in by Ziqing Luo <ziqing@…>, 10 years ago

add one example

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

  • Property mode set to 100644
File size: 215 bytes
Line 
1#include <assert.h>
2#include <mpi.h>
3
4int main(int argc, char * argv[]) {
5 int deno = 0;
6 int undef;
7 int a[3];
8 int * p = a;
9
10 MPI_Init(NULL, NULL);
11 p = p + 3;
12 assert(p);
13 MPI_Finalize();
14 return 0;
15}
Note: See TracBrowser for help on using the repository browser.