1.23
2.0
main
test-branch
|
Last change
on this file since a054a5b was 1de5580, checked in by Manchun Zheng <zmanchun@…>, 12 years ago |
|
added a method in the executor for allocating a new object in the heap of a given scope; added tests for $message_unpack, $gcomm_create; changed "$free" into "free".
git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@668 fb995dde-84ed-4084-dfe6-e5aef3e2452c
|
-
Property mode
set to
100644
|
|
File size:
94 bytes
|
| Line | |
|---|
| 1 | #include <stdlib.h>
|
|---|
| 2 |
|
|---|
| 3 | void main(){
|
|---|
| 4 | int*p;
|
|---|
| 5 |
|
|---|
| 6 | p = (int *) malloc(sizeof(int));
|
|---|
| 7 | *p = 10;
|
|---|
| 8 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.