source:
CIVL/examples/pthread/errorTest/structInitializationTest.cvl@
978afe7
| Last change on this file since 978afe7 was ea777aa, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 145 bytes | |
| Rev | Line | |
|---|---|---|
| [d1bb96b] | 1 | typedef struct{ |
| 2 | int a; | |
| 3 | int c; | |
| 4 | }s2; | |
| 5 | ||
| 6 | typedef struct{ | |
| 7 | int b; | |
| 8 | s2 inside; | |
| 9 | }s1; | |
| 10 | ||
| 11 | int main(){ | |
| 12 | s1 test; | |
| [c27a6e7] | 13 | test = (s1){1,{1,3}}; |
| [d1bb96b] | 14 | return 0; |
| 15 | } |
Note:
See TracBrowser
for help on using the repository browser.
