source:
src/examples/strings/bug-repro/double_arrow.c@
8243cf9
| Last change on this file since 8243cf9 was 8243cf9, checked in by , 10 years ago | |
|---|---|
|
|
| File size: 156 bytes | |
| Line | |
|---|---|
| 1 | struct test |
| 2 | { |
| 3 | test* next; |
| 4 | }; |
| 5 | |
| 6 | int main(int argc, char* argv[]) |
| 7 | { |
| 8 | test t1; |
| 9 | test t2; |
| 10 | test t3; |
| 11 | |
| 12 | test* pt = &t1; |
| 13 | pt->next = &t2; |
| 14 | pt->next->next = &t3; |
| 15 | } |
Note:
See TracBrowser
for help on using the repository browser.