source:
CIVL/mods/dev.civl.com/examples/experimental/assignBad.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 202 bytes | |
| Line | |
|---|---|
| 1 | /* */ |
| 2 | #include <civlc.cvh> |
| 3 | |
| 4 | /* |
| 5 | int foo() { |
| 6 | int *p = (int *) $malloc($here, 5*sizeof(int)); |
| 7 | }*/ |
| 8 | |
| 9 | void main() { |
| 10 | int *p2; |
| 11 | int *q; |
| 12 | int a[5]; |
| 13 | |
| 14 | *(a+5)=10; |
| 15 | // p2 = a+5; |
| 16 | //*p2=10; |
| 17 | //foo(); |
| 18 | } |
Note:
See TracBrowser
for help on using the repository browser.
