source: CIVL/examples/experimental/assignBad.cvl@ 5bc08d6

1.23 2.0 main test-branch
Last change on this file since 5bc08d6 was 36b2849, checked in by Si Li <sili@…>, 11 years ago

assgin

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

  • Property mode set to 100644
File size: 172 bytes
RevLine 
[36b2849]1/* */
2#include <civlc.cvh>
3
4int foo() {
5 int *p = (int *) $malloc($here, 5*sizeof(int));
6}
7
8void main() {
9 int *p2;
10 int *q;
11 int a[5];
12 p2 = a+6;
13
14 foo();
15
16}
Note: See TracBrowser for help on using the repository browser.